Read the docs
TI-2022-26506 Aliases GHSA-mhfv-8rc9-w38c

Arbitrary shell execution

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

Uses of shell_exec() and exec() were not escaping filenames and configuration settings in most cases

Why it matters now

Fix Fixed squizlabs/php_codesniffer (Packagist): 2.8.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—squizlabs/php_codesniffer (Packagist)1.0.0 to before 2.8.12.8.1Patch availableGHSA-mhfv-8rc9-w38c
  • squizlabs/php_codesniffer (Packagist) Vendor— Affected 1.0.0 to before 2.8.1 Fixed in 2.8.1 Patch available GHSA-mhfv-8rc9-w38c

Remediation

  • Fix · GHSA-mhfv-8rc9-w38c squizlabs/php_codesniffer (Packagist) Fixed in 2.8.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-mhfv-8rc9-w38c

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences