Skip to content

chore(security): bump squizlabs/php_codesniffer to 4.0.4 (CVE-2026-67434) - #8

Merged
detain merged 1 commit into
masterfrom
chore-bump-phpcs-cve-2026-67434
Aug 7, 2026
Merged

chore(security): bump squizlabs/php_codesniffer to 4.0.4 (CVE-2026-67434)#8
detain merged 1 commit into
masterfrom
chore-bump-phpcs-cve-2026-67434

Conversation

@detain

@detain detain commented Aug 7, 2026

Copy link
Copy Markdown
Owner

CVE-2026-67434squizlabs/php_codesniffer OS command injection (HIGH)

Locked at 4.0.1; the advisory affects <3.13.6 and >=4.0.0,<4.0.2, so
the 4.x line is in range too. Bumped to 4.0.4. composer.json already allows
^4.0, so only composer.lock moves.

GHSA-hmqg-cxww-wqhq

🔴 Nothing in this repo would ever have reported it

This repo has no composer audit step in CI at all. It was found only because
phlix-server uses a custom scripts/security-audit-check.php that audits
every dependency, and went red on the same advisory.

Estate survey run at the same time:

repo was audit gate
phlix-server 3.13.5 → 3.13.6 custom script — caught it
phlix-hub, phlix-shared 3.13.5 → 3.13.6 composer audit --no-devblind to require-dev
7 plugin repos 4.0.1 NONE
phlix-console-client 4.0.4 already out of range

The missing gate is filed as its own step rather than bolted on inside a security
bump — it needs a policy decision (audit everything and fix promptly, vs. audit
dev separately and report non-blocking) and a demonstration that the new gate can
actually go red.

vendor/ untouched, verified

Produced with composer update squizlabs/php_codesniffer --no-install, so the
working tree's vendor/ never changed — file count identical before and after,
and git status --porcelain showed M composer.lock alone. CI does its own clean
install and will resolve 4.0.4 from the lock.

)

New HIGH advisory: CVE-2026-67434 — OS Command injection — GHSA-hmqg-cxww-wqhq
Affects <3.13.6 and >=4.0.0,<4.0.2. This repo was locked at 4.0.1.

composer.json already allows ^4.0, so only the lock moves.

Produced with `composer update squizlabs/php_codesniffer --no-install` so
vendor/ is untouched — file count identical before and after.

⚠ This repo has NO composer audit gate in CI, so nothing here would ever have
reported this. Found only because phlix-server's custom audit script went red on
the same advisory. The missing gate is filed as its own step.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@codacy-production

codacy-production Bot commented Aug 7, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation +0.00% coverage variation (-1.00%)
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (d24e484) 9 9 100.00%
Head commit (e159c2c) 9 (+0) 9 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#8) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@detain
detain merged commit 56243f0 into master Aug 7, 2026
5 checks passed
@detain
detain deleted the chore-bump-phpcs-cve-2026-67434 branch August 7, 2026 01:17
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