CVE-2009-3898: Directory Traversal in nginx WebDAV Module (ngx_http_dav_module)
- Vendors
- NGINXF5
A directory traversal vulnerability exists in nginx (Engine X) before version 0.7.63 and 0.8.x before 0.8.17, specifically in the ngx_http_dav_module.c source file. The vulnerability allows remote authenticated users to create or overwrite arbitrary files on the server by including a '..' (dot dot) sequence in the Destination HTTP header when using the WebDAV COPY or MOVE methods. This occurs due to insufficient sanitization of the Destination header, enabling attackers to traverse directories outside the intended WebDAV root.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation of this vulnerability allows authenticated remote users to create or overwrite arbitrary files on the server filesystem, potentially leading to unauthorized file creation, data loss, privilege escalation, or further compromise of the server depending on the files targeted and the server configuration.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the WebDAV module or restrict access to trusted users only. Additionally, use network-level controls to limit access to the affected endpoints and monitor for suspicious WebDAV activity.
Remediation
Patch, then assume compromise.
Upgrade nginx to version 0.7.63 or later, or 0.8.17 or later, where the vulnerability is patched. Ensure that all instances using the WebDAV module are updated accordingly.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2009-3898 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2009-3898 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2009-3898?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2009-3898.
- Is there a patch for CVE-2009-3898?
- Upgrade nginx to version 0.7.63 or later, or 0.8.17 or later, where the vulnerability is patched. Ensure that all instances using the WebDAV module are updated accordingly.
- What products are affected by CVE-2009-3898?
- Nginx and F5 Nginx.
- How severe is CVE-2009-3898?
- CVE-2009-3898 has a CVSS v2 score of 4.9 (Medium) and an EPSS score of 15.9% (97th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.