CVE-2004-2692: The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote attackers to b
CVE-2004-2692 is a high-severity flaw (CVSS 9.3) affecting php-exec-dir. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote attackers to bypass restrictions and execute arbitrary commands via a backtick operator, which is not handled using the php_escape_shell_cmd function.
Why this priority
- Critical severity
- EPSS top 8%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-2692?
php-exec-dir: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-2692 being exploited?
CVE-2004-2692 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-2692 affect?
CVE-2004-2692 affects php-exec-dir. Severity is high (CVSS 9.3). The exec_dir PHP patch (php-exec-dir) 4.3.2 through 4.3.7 with safe mode disabled allows remote attackers to bypass restrictions and execute arbitrary commands via a backtick operator, which is not handled using the php_escape_shell_cmd fun
How urgent is CVE-2004-2692?
Priority 60/100. Critical severity; EPSS top 8%: very likely to be exploited; Public exploit reference