CVE-2026-65954
CVE-2026-65954 · PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 · Alta · EPSS 0,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: php
Productos y versiones afectados
phpcsutils
- Versiones
- >= 1.0.0-alpha1, <= 1.2.2: Afectada
Sin corrección publicada
phpcsstandards/phpcsutils Packagist
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 1.0.0-alpha1, < 1.2.3
Actualiza a 1.2.3