Packagist (PHP)Worst: High3 advisories

squizlabs/php_codesniffer: known vulnerabilities

squizlabs/php_codesniffer has 3 reviewed security advisories in the GitHub Advisory Database — 3 high. The most recent was published 2026-08-06. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the squizlabs/php_codesniffer versions running across your servers, containers and images, and ranks what to patch first.

How to fix squizlabs/php_codesniffer

Upgrade squizlabs/php_codesniffer to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require squizlabs/php_codesniffer:^4.0.2 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

PHP_CodeSniffer gitblame report command injection via crafted filename High CWE-78 — Affected: from 4.0.0 up to 4.0.2. Fixed in 4.0.2. Published 2026-08-06. GHSA-hmqg-cxww-wqhq · CVE-2026-67434
Arbitrary shell execution High — Affected: from 3.0.0 up to 3.0.1. Fixed in 3.0.1. Published 2022-03-26. GHSA-3988-h75v-hwf6
Arbitrary shell execution High — Affected: from 1.0.0 up to 2.8.1. Fixed in 2.8.1. Published 2022-03-26. GHSA-mhfv-8rc9-w38c

Find squizlabs/php_codesniffer across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.