CVE-2026-65954
CVE-2026-65954 · PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.6 · Élevée · EPSS 0,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: php
Produits et versions concernés
phpcsutils
- Versions du logiciel
- >= 1.0.0-alpha1, <= 1.2.2: Concernée
Aucun correctif publié
phpcsstandards/phpcsutils Packagist
- Versions du logiciel
- 1.0.0
- 1.0.0-alpha1
- 1.0.0-alpha2
- 1.0.0-alpha3
- 1.0.0-alpha4
- 1.0.0-rc1
- 1.0.1
- 1.0.10
- 1.0.11
- 1.0.12
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.0.8
- 1.0.9
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.2.0
- 1.2.1
- 1.2.2
- Plages de versions concernées
- ECOSYSTEM: ≥ 1.0.0-alpha1, < 1.2.3
Mettez à jour vers 1.2.3