# CVE-2026-32847: DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T19:32:13.224Z
- Modified: 2026-10-26T13:10:00.140Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- HKUDS DeepCode: up to 1.2.0; up to c991dc22e67958a031f2e20595128a6a5fbd8f3d

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <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)

## Sources

- CVE List: [CVE-2026-32847](https://www.cve.org/CVERecord?id=CVE-2026-32847), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-32847](https://nvd.nist.gov/vuln/detail/CVE-2026-32847), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-32847 · Whole record: https://cve.day/CVE-2026-32847.json · Rebuilt by cve.day 2026-11-25T22:59:23.024Z
