CVE-2024-8927

CVE-2024-8927 is a high-severity vulnerability in Php with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1220.

Key facts

Description

In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.

Frequently asked questions

What is CVE-2024-8927?
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.
How severe is CVE-2024-8927?
CVE-2024-8927 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2024-8927 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-8927?
CVE-2024-8927 affects Php. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-8927?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-8927 have an EU (EUVD) identifier?
Yes. CVE-2024-8927 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-49490.
When was CVE-2024-8927 published?
CVE-2024-8927 was published on 2024-10-08 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Php

All CVEs affecting Php →

Other CWE-1220 vulnerabilities

Browse all CWE-1220 vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: