Advisory record · GHSA-hmqg-cxww-wqhq

PHP_CodeSniffer gitblame report command injection via crafted filename

CVSS 7.3 HighEPSS 0.011 · 65th percentile

Published by the GitHub Advisory Database at 6 Aug 2026, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
squizlabs/php_codesnifferPackagist<3.13.6 || >=4.0.0, <4.0.23.13.6, 4.0.2
Identifiers
GHSA-hmqg-cxww-wqhq · CVE-2026-67434 · PKSA-rdkp-vv9z-mjkg
Weakness (CWE)
CWE-78
Published
6 Aug 2026
Updated
6 Aug 2026

Machine-written summary

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

PHP_CodeSniffer versions before 3.13.6 and from 4.0.0 before 4.0.2 are vulnerable to command injection in the Gitblame, Hgblame and Svnblame reports. An attacker who can get PHP_CodeSniffer to scan a file whose name contains shell metacharacters, such as in a CI pipeline scanning pull requests, could run arbitrary shell commands. Upgrade to 3.13.6 or 4.0.2; until then, avoid these reports when scanning untrusted code.

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.3 High 4.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.011, the 65th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

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