Skip to content

Update squizlabs/php_codesniffer to 3.13.6 (CVE-2026-67434) - #290

Merged
ocean90 merged 1 commit into
masterfrom
update/php_codesniffer-3.13.6
Aug 6, 2026
Merged

Update squizlabs/php_codesniffer to 3.13.6 (CVE-2026-67434)#290
ocean90 merged 1 commit into
masterfrom
update/php_codesniffer-3.13.6

Conversation

@ocean90

@ocean90 ocean90 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Pins squizlabs/php_codesniffer to 3.13.6, closing an OS command injection in the Gitblame, Hgblame and Svnblame reports: a file whose name contains shell metacharacters could execute attacker-controlled commands on the scanning host. CVE-2026-67434 / CWE-78, CVSS 7.3 (high).

Only the three blame reports are affected — the default Full report is not. The realistic exposure is a CI job running one of them over an untrusted branch or pull request.

  • Beyond the fix itself, this unblocks installation: 7.0.0 and 7.0.1 pin the affected 3.13.5 exactly, so Composer 2.10+ refuses to resolve them at all now that the advisory is published.
  • The CHANGELOG is prepared for a 7.0.2 release. It also documents the already merged sirbrillig/phpcs-variable-analysis 3.0.0 bump (Update sirbrillig/phpcs-variable-analysis requirement from 2.13.0 to 3.0.0 #286), which is unreleased and ships with 7.0.2 — that major only raises its own minimum PHP_CodeSniffer version, no sniff was removed or renamed.

composer audit is clean and the smoke tests for both standards pass.

Pins PHP_CodeSniffer 3.13.6, which fixes OS command injection in the
Gitblame, Hgblame and Svnblame reports (CVE-2026-67434, GHSA-hmqg-cxww-wqhq).

Prepares the CHANGELOG for a 7.0.2 security release and documents the
already merged sirbrillig/phpcs-variable-analysis 3.0.0 bump (#286) that
ships with it.
@ocean90
ocean90 force-pushed the update/php_codesniffer-3.13.6 branch from c92664e to df0a6a1 Compare August 6, 2026 11:58
@ocean90
ocean90 merged commit a5f7372 into master Aug 6, 2026
7 checks passed
@ocean90
ocean90 deleted the update/php_codesniffer-3.13.6 branch August 6, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant