Home

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.

PUBLISHED Reserved 2026-03-16 | Published 2026-05-28 | Updated 2026-05-30 | Assigner VulnCheck




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
affected

Any version
affected

Any version
affected

Credits

YU SUN finder

References

github.com/HKUDS/DeepCode/issues/126 exploit issue-tracking

www.vulncheck.com/...rsal-via-spa-catch-all-route-in-main-py third-party-advisory

cve.org (CVE-2026-32847)

nvd.nist.gov (CVE-2026-32847)

Download JSON