Update squizlabs/php_codesniffer to 3.13.6 (CVE-2026-67434) - #290
Merged
Conversation
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
force-pushed
the
update/php_codesniffer-3.13.6
branch
from
August 6, 2026 11:58
c92664e to
df0a6a1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins
squizlabs/php_codesnifferto 3.13.6, closing an OS command injection in theGitblame,HgblameandSvnblamereports: 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
Fullreport is not. The realistic exposure is a CI job running one of them over an untrusted branch or pull request.sirbrillig/phpcs-variable-analysis3.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 auditis clean and the smoke tests for both standards pass.