Packagist (PHP)Worst: Critical5 advisories

phpunit/phpunit: known vulnerabilities

phpunit/phpunit has 5 reviewed security advisories in the GitHub Advisory Database — 1 critical, 3 high, 1 moderate. The most recent was published 2026-10-29. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the phpunit/phpunit versions running across your servers, containers and images, and ranks what to patch first.

How to fix phpunit/phpunit

Upgrade phpunit/phpunit to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require phpunit/phpunit:^13.4.4 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (5)

PHPUnit vulnerable to code execution by other local users via shared temporary directory in PHPT code coverage handling Moderate CWE-379 — Affected: from 13.4.0 up to 13.4.4. Fixed in 13.4.4. Published 2026-10-29. GHSA-9vw2-f4vp-x7gf · CVE-2026-119193
PHPUnit has Argument injection via newline in PHP INI values that are forwarded to child processes High 7.8 CWE-88 CWE-93 — Affected: from 13.1.5 up to 13.1.6. Fixed in 13.1.6. Published 2026-05-08. GHSA-qrr6-mg7r-m243 · CVE-2026-41570
PHPUnit: Argument injection via newline in PHP INI values forwarded to child processes High 7.8 CWE-88 CWE-93 — Affected: from 13.1.5 up to 13.1.6. Fixed in 13.1.6. Published 2026-04-22. GHSA-mh6w-vxff-9wqp
PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling High 7.8 CWE-502 — Affected: from 12.0.0 up to 12.5.8. Fixed in 12.5.8. Published 2026-01-27. GHSA-vvj3-c3rp-c85p · CVE-2026-24765

Find phpunit/phpunit across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.