Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-65954 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')[email protected]

Affected Products

ProductVersions
PHPCSStandards PHPCSUtils
>= 1.0.0-alpha1, < 1.2.3 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 1.2.3moderate effort
  • Workaround:low effort

    Disable the vulnerable sniffs by adding `<exclude>` tags to your custom ruleset: ```xml <rule ref="Standard"> <exclude name="Standard.Category.SniffName"/> </rule> ``` For example, to disable the two PHPCSExtra sniffs: ```xml <rule ref="Universal"> <exclude name="Universal.Arrays.DuplicateArrayKey"/> <exclude name="Universal.Arrays.MixedArrayKeyTypes"/> </rule> ``` Verify that the sniffs have been disabled by running PHPCS with the `-e` flag: ``` phpcs -e --standard=/path/to/ruleset.xml ```

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-65954
NVD Published Date:
Oct 12, 2026
NVD Last Modified:
Oct 16, 2026
Source:
[email protected]
CVE-2026-65954 Details - Not Deferred