Arbitrary shell execution
Uses of shell_exec() and exec() were not escaping filenames and configuration settings in most cases
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | squizlabs/php_codesniffer | >= 1.0.0, < 2.8.1 | 2.8.1 |
References
- Weakness (CWE)
-- Platform
- Composer
- Package
squizlabs/php_codesniffer- Disclosed
- 26.03.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-mhfv-8rc9-w38c - CC BY 4.0
Vulnerability history: squizlabs/php_codesniffer
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 03.2022 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Arbitrary shell execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.