CVE-2007-5685: Directory Traversal in shttp safe_path
- Vendor
- Serverkit
shttp versions before 0.0.5 contain a directory traversal vulnerability in the safe_path function. A remote attacker can supply a path combining ".." with subdirectory specifiers so that it resolves to a location at or below the web document root’s level but in a different directory-tree branch, bypassing the intended path restriction and allowing file reads.
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.
An unauthenticated remote attacker may read files from directory-tree locations outside the intended web document-root branch, potentially disclosing sensitive information accessible to the shttp process.
Mitigation
If you can’t patch tonight, do this now.
Until an upgrade is applied, restrict network access to the shttp service and prevent exposure to untrusted remote clients. Limit the service account's filesystem permissions so it cannot read sensitive files outside the intended web content tree.
Remediation
Patch, then assume compromise.
Upgrade shttp to version 0.0.5 or later.
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-2007-5685 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-5685 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-5685?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-5685.
- Is there a patch for CVE-2007-5685?
- Upgrade shttp to version 0.0.5 or later.
- What products are affected by CVE-2007-5685?
- Serverkit Shttp.
- How severe is CVE-2007-5685?
- CVE-2007-5685 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 3.5% (89th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.