Zurück zur Liste

PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey() — GHSA-R6HR-VR92-VV28

GitHub · GitHub · GHSA-R6HR-VR92-VV28

ID
GHSA-R6HR-VR92-VV28
Datum
Quelle
GitHub
Vendor
GitHub
Risiko
hoch
CVSS
8.6

Zusammenfassung

### Impact PHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in `PHPCSUtils\AbstractSniffs\AbstractArrayDeclarationSniff::getActualArrayKey()`. The vulnerable method is reached by any sniff that extends `AbstractArrayDeclarationSniff` and calls `getActualArrayKey()`. Running PHPCS over untrusted PHP code through such a sniff, for example, in a CI pipeline that lints…

Zeitlicher Verlauf

Von der Quelle veröffentlicht
2026-09-29

Risikokontext

  • Gemeldeter Schweregrad oder Risikowert: hoch.
  • Gemeldeter CVSS-Wert: 8.6 von 10.
  • Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: composer: phpcsstandards/phpcsutils.

Produkt

composer: phpcsstandards/phpcsutils

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Nachweise und Herkunft

Kanonische Advisory-ID
GHSA-R6HR-VR92-VV28
Quelle
GitHub
Vendor
GitHub
Von der Quelle veröffentlicht
2026-09-29
Letzte Quellenaktivität
2026-09-29
Weitere Kennungen
CVE-2026-65954
Kuratiert von
hlukh.ch

Verwandte Hinweise und Zusammenhänge

Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.