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

High 8.7 Published Updated

Unauthenticated attackers can read arbitrary files, including secrets, via path traversal in the SPA catch-all route of DeepCode.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-32847?

CVE-2026-32847 is a high-severity path traversal vulnerability in HKUDS DeepCode, published on 28 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-32847?

It affects 1 product.

Products include Hkuds Deepcode.

How do I fix CVE-2026-32847?

No fix has been published for CVE-2026-32847 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-32847 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32847 exists.

Sources

Also known as GHSA-2vjv-m9hw-qvjf.

Is CVE-2026-32847 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free