What it is
CVE-2024-4577 is an unauthenticated Argument Injection in PHP-CGI. In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use...
Vulnerability report
Argument Injection in PHP-CGI
PHP Group / PHP · affected before 8.1.29
Decision summary
Direct answers before the deeper technical record.
What it is
CVE-2024-4577 is an unauthenticated Argument Injection in PHP-CGI. In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use...
Is it exploited?
Yes. Previdian sensors observed exploitation attempts with confirmed confidence. Listed in CISA KEV. Also confirmed by third-party sources.
Who is affected?
PHP Group / PHP affected before 8.1.29.
What should we do?
Patch immediately, validate internet-facing exposure, and monitor for matching requests.
Overview
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command line given to Win32 API functions.
PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
CISA
A trusted third party reported exploitation.
Previdian sensor
Previdian first observed exploitation attempts targeting this vulnerability in our honeypot sensors.
CISA
Malware families have been linked to exploitation of this CVE.
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the Previdian Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2024-06-12 00:00 UTC |
| The Shadowserver | 2026-05-31 00:00 UTC |
| Previdian Sensors | 2026-08-20 18:39 UTC |
Operational indicators for this CVE are listed under Detection.
Sensor telemetry
Previdian sensors recorded exploitation attempts targeting this vulnerability. The cards and chart show volume, unique attackers, and daily activity.
35,226
Attempts observed
1,551
Unique attacker IPs
76
Attacker countries
AE · AF · AM · AR · AT · AU · BD · BE · BG · BR · CA · CH · CM · CN · CO · DE · DK · DO · DZ · EE · ES · ET · FI · FR · GB · GE · GT · HK · HU · ID · IN · IQ · IR · IS · IT · JP · KR · KZ · LK · LT · LV · LY · MA · MD · MW · MX · MY · MZ · NL · NP · NZ · PA · PE · PH · PK · PL · PT · PY · RS · RU · SA · SC · SE · SG · SI · SO · TH · TR · TW · UA · US · UZ · VN · YE · ZA · ZM
76
Sensors observed
CVE-2024-4577 exploitation attempts over the last 82 days
Daily events observed by Previdian sensors
Updated 09 Oct 2026
First observed 21 Jul 2026 · Last observed 09 Oct 2026
Pro adds sensor region and window summaries. Enterprise adds raw IPs, paths, User-Agents, and payloads.
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Request targets and User-Agents available in Pro. Callback host details available in Enterprise.
Metasploit template detected 28 Apr 2025.
View Metasploit template (opens in new tab)No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →Attacker IP indicators observed · available in Pro and Enterprise.
Sensor-derived attacker IP indicators are available to Pro and Enterprise accounts under Detection and through the Pro API.
Learn about Pro API accessScanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/php_cgi_arg_injection_rce_cve_2024_4577.rb | 28 Apr 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4577.yaml | 25 Apr 2025 |
| Nessus | https://www.tenable.com/plugins/nessus/214953 | 04 Feb 2025 |
Risk and context
CVSS v3.1
Potential damage if exploited. Separate from whether attackers are using it.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
100.0%
Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.
Recent mention · RecordedFuture
In August 2026, Insikt Group® identified 73 high-impact vulnerabilities that should be prioritized for remediation, 43 of which had a Very Critical Recorded Future Risk Score. This represents a 14% decrease from last month.
Read full advisoryThese PoCs are unverified and could contain malware. Use at your own risk.
nuclei · Created Unknown
metasploit · Created Unknown
Metasploit module for CVE-2024-4577
Timeline
18:44 UTC
Indicators of compromise recorded
18:44 UTC
Evidence-backed exploitation signal
00:00 UTC
Exploitation attested by an external source
15:02 UTC
Exploit module available
15:02 UTC
Public proof-of-concept code published
00:00 UTC
Scanner coverage available
20:07 UTC
Scanner coverage available
00:00 UTC
Listed in the CISA Known Exploited Vulnerabilities catalog
00:00 UTC
Exploit observed in malware
19:42 UTC
Vulnerability disclosed publicly
22:21 UTC
Identifier reserved by the CNA
Pro API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/pro/kevs/CVE-2024-4577
Free JSON includes basic KEV fields{
"cve_id": "CVE-2024-4577",
"confidence": "Confirmed",
"cvss_score": 9.8,
"cvss_estimated": false,
"epss_score": 0.99987,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "attempts": 35226, "sensors": 76 }
}