Advisory record · GHSA-vvj3-c3rp-c85p

PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling

CVSS 7.8 HighEPSS 0.0038 · 33rd percentile

Published by the GitHub Advisory Database at 27 Jan 2026, 22:26 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
phpunit/phpunitPackagist<8.5.52 || >=9.0.0, <9.6.33 || >=10.0.0, <10.5.62 || >=11.0.0, <11.5.50 || >=12.0.0, <12.5.88.5.52, 9.6.33, 10.5.62, 11.5.50, 12.5.8
Identifiers
GHSA-vvj3-c3rp-c85p · CVE-2026-24765 · PKSA-z3gr-8qht-p93v
Weakness (CWE)
CWE-502
Published
27 Jan 2026
Updated
5 May 2026

Machine-written summary

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

PHPUnit versions before 8.5.52, 9.0.0 through 9.6.33, 10.0.0 through 10.5.62, 11.0.0 through 11.5.50, and 12.0.0 through 12.5.8 are affected. An attacker with local file write access to the location where PHPUnit expects code coverage files for PHPT tests can place a malicious serialized .coverage file, which is unsafely deserialized and may lead to arbitrary code execution when tests run with coverage enabled. Upgrade to 8.5.52, 9.6.33, 10.5.62, 11.5.50, or 12.5.8, depending on your major version.

Written 3 Nov 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
7.8 High 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0038, the 33rd percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 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.