Advisory record · GHSA-9vw2-f4vp-x7gf

PHPUnit vulnerable to code execution by other local users via shared temporary directory in PHPT code coverage handling

CVSS 5.4 MediumEPSS 0.0011 · 1st percentile

Published by the GitHub Advisory Database at 30 Oct 2026, 23:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
phpunit/phpunitPackagist>=13.4.0, <13.4.413.4.4
Identifiers
GHSA-9vw2-f4vp-x7gf · CVE-2026-119193 · PKSA-qhjm-rpqc-qkn6
Weakness (CWE)
CWE-379
Published
30 Oct 2026
Updated
30 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PHPUnit versions 13.4.0 through 13.4.3 (fixed in 13.4.4) are vulnerable when PHPT tests run with code coverage on a system where the temporary files directory is shared between users, such as Linux with a shared /tmp. A local user with an account on the same system can create the fixed-name directory before the developer runs the tests, then replace the PHPT test code so it executes with the developer's privileges, without the test result or coverage report showing a change. Upgrade to PHPUnit 13.4.4, which uses an unpredictable directory name accessible only to the current user.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.4 Medium 4.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0011, the 1st percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:53 UTC First seen by agentprime
  2. 31 Oct 2026, 13:53 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.