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.
References
| Link | Resource |
|---|---|
| https://github.com/HKUDS/DeepCode/issues/126 | Exploit Issue Tracking |
| https://www.vulncheck.com/advisories/deepcode-path-traversal-via-spa-catch-all-route-in-main-py | Third Party Advisory |
Configurations
History
03 Jun 2026, 18:02
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:hkuds:deepcode:*:*:*:*:*:*:*:* | |
| First Time |
Hkuds deepcode
Hkuds |
|
| References | () https://github.com/HKUDS/DeepCode/issues/126 - Exploit, Issue Tracking | |
| References | () https://www.vulncheck.com/advisories/deepcode-path-traversal-via-spa-catch-all-route-in-main-py - Third Party Advisory |
28 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-28 20:16
Updated : 2026-06-03 18:02
NVD link : CVE-2026-32847
Mitre link : CVE-2026-32847
CVE.ORG link : CVE-2026-32847
JSON object : View
Products Affected
hkuds
- deepcode
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
