{"id":"CVE-2026-32847","summary":"DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py","details":"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.","modified":"2026-07-08T08:12:48.692246146Z","published":"2026-05-28T19:32:13.224Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32847.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"last_affected":"c991dc22e67958a031f2e20595128a6a5fbd8f3d"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32847.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32847"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/deepcode-path-traversal-via-spa-catch-all-route-in-main-py"},{"type":"REPORT","url":"https://github.com/HKUDS/DeepCode/issues/126"},{"type":"PACKAGE","url":"https://github.com/HKUDS/DeepCode"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hkuds/deepcode","events":[{"introduced":"0"},{"last_affected":"ca2c068ec9f4b0b5fe8c2cbd7b7f73090f5058bc"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"extracted_events":[{"introduced":"0"},{"last_affected":"1.2.0"}],"cpe":"cpe:2.3:a:hkuds:deepcode:*:*:*:*:*:*:*:*"}}],"versions":["v1.2.0","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32847.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}