PT-2026-102982

CVE-2026-65954

·

تاريخ النشر

2026-09-29

·

تاريخ التحديث

2026-10-12

الوصف من

CVSS 3.1
8.6
عالية
المقاييسAV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PHPCSUtils versions 1.0.0-alpha1 through 1.2.2
Description An arbitrary code execution issue exists in the PHPCSUtilsAbstractSniffsAbstractArrayDeclarationSniff::getActualArrayKey() function. The problem occurs when the function uses eval() to determine the value of an array key, allowing callback-form keys in untrusted PHP code to execute arbitrary commands on the host machine during scanning. This is particularly risky in CI pipelines that lint pull requests or on developer machines reviewing third-party code. Known reachable paths include Universal.Arrays.DuplicateArrayKey and Universal.Arrays.MixedArrayKeyTypes.
Recommendations Update to version 1.2.3 or later. As a temporary workaround, disable the sniffs that reach the vulnerable method by adding <exclude> tags to the custom ruleset for Universal.Arrays.DuplicateArrayKey and Universal.Arrays.MixedArrayKeyTypes.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-R6HR-VR92-VV28
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾