CVE-2026-65954 — Vulnerability in phpcsstandards/phpcsutils — CVE...
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
Summary
Advisory Timeline
- First published September 29, 2026 (13 days ago).
- Last revised September 29, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "phpcsstandards/phpcsutils:^1.2.3"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| phpcsstandards/phpcsutils | packagist | 1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-alpha3 (+21 more) | 1.2.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-95
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/PHPCSStandards/PHPCSUtils/security/advisories/GHSA-r6hr-vr92-vv28WEB
- https://github.com/PHPCSStandards/PHPCSUtils/pull/778WEB
- https://github.com/PHPCSStandards/PHPCSUtils/commit/9f596b50ea4498ea57b8cb341e920233b044debfWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpcsstandards/phpcsutils/CVE-2026-65954.yamlWEB
- https://github.com/PHPCSStandards/PHPCSUtilsPACKAGE
Frequently Asked Questions
- What is CVE-2026-65954?
- PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey() This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-65954?
- CVE-2026-65954 affects phpcsstandards/phpcsutils. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-65954 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-56737HIGH
phpMyFAQ's two-factor authentication login bypasses the password factor
- CVE-2026-61825HIGH
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies