What’s Vulnerable › Vulnerabilities
CVE-2026-32847: DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-28 · updated 2026-10-26
- Weakness: CWE-22
Description
DeepCode through commit c991dc2 contains a path traversal vulnerability in the SPA catch-all route in new_ui/backend/main.py that allows unauthenticated attackers to read arbitrary files by supplying percent-encoded path segments to the GET /{full_path:path} endpoint. Attackers can bypass Starlette's path normalization by encoding slashes as %2F and dots as %2E%2E, causing the joined path to traverse outside FRONTEND_DIST and exposing sensitive files such as SSH private keys, TLS certificates, and application secrets with a single HTTP request.
Affected products
- HKUDS DeepCode: through 1.2.0
References
- https://github.com/HKUDS/DeepCode/issues/126
- https://www.vulncheck.com/advisories/deepcode-path-traversal-via-spa-catch-all-route-in-main-py
Get alerted when CVE-2026-32847 or the next vulnerability affects your stack