THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-r6hr-vr92-vv28 (high) — PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()

[GHSA] GHSA-r6hr-vr92-vv28 (high) — PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()

medgithub_advisoriesPublished 2026-09-29

GHSA-r6hr-vr92-vv28 Severity: high CVE: CVE-2026-65954

PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()

### Impact

PHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in `PHPCSUtils\AbstractSniffs\AbstractArrayDeclarationSniff::getActualArrayKey()`. The vulnerable method is reached by any sniff that e

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-r6hr-vr92-vv28