Vendors › PHP

CVE-2024-8927

Medium (5.3) EPSS 1.0% PHP · core

cgi.force_redirect configuration is bypassable due to the environment variable collision

An environment-variable collision lets an attacker bypass the cgi.force_redirect safeguard and invoke the PHP binary directly through a crafted URL.

Published2024-09-27
Updated2024-09-27
AffectedPHP versions < 8.1.30; PHP versions < 8.2.24; PHP versions < 8.3.12
FixUpgrade to 8.1.30; 8.2.24; 8.3.12 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-8927CWE-1220OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.