CVE-2026-65954

PHPCSUtils is a suite of utility functions for use with PHP_CodeSniffer. From 1.0.0-alpha1 until 1.2.3, PHPCSUtils\AbstractSniffs\AbstractArrayDeclarationSniff::getActualArrayKey() evaluates attacker-controlled array-key expressions with eval(), allowing callback-form keys in untrusted PHP code scanned by an extending sniff to execute arbitrary commands on the scanning host. Known reachable paths include Universal.Arrays.DuplicateArrayKey and Universal.Arrays.MixedArrayKeyTypes. This issue is fixed in version 1.2.3.
Configurations

No configuration.

History

12 Oct 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-12 19:16

Updated : 2026-10-16 20:04


NVD link : CVE-2026-65954

Mitre link : CVE-2026-65954

CVE.ORG link : CVE-2026-65954


JSON object : View

Products Affected

No product.

CWE
CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')