Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-65954
VULNERABILITY

CVE-2026-65954

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.6
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Timeline

Published
Oct 12, 2026 19:16
Modified
Oct 16, 2026 20:04
Last observed
Oct 16, 2026 23:38

CWE

CWE-95

References