一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月13日

CVE-2026-65954 [HIGH] – PHPCSUtils is a suite of utility functions for use with PHP_CodeSniffer. From 1.0.0-alpha1

未分类
📑 文章目录

PHPCSUtils is a suite of utility functions for use with PHP_CodeSniffer. From 1.0.0-alpha1 until 1.2.3, PHPCSUtilsAbstractSniffsAbstractArrayDeclarationSniff::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.