CVE-2026-32847 DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py
HighCVSS 8.7
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hkuds/deepcode | <= 1.2.0; <= c991dc22e67958a031f2e20595128a6a5fbd8f3d | after 1.2.0, c991dc22e67958a031f2e20595128a6a5fbd8f3d | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hkuds/deepcode | <= 1.2.0 | No fix listed |
| hkuds/deepcode | <= c991dc22e67958a031f2e20595128a6a5fbd8f3d | No fix listed |
References
- github.com exploit issue-tracking
- www.vulncheck.com third-party-advisory