CVE Catalog

CVE-2026-32847

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

30th percentile - higher than 30% of all known CVEs

Summary

A path traversal vulnerability in DeepCode up to commit c991dc2 in the SPA catch-all route in new_ui/backend/main.py allows unauthenticated attackers to read arbitrary files by sending 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.

Risk Assessment

The risk for the organization is critical because an unauthenticated attacker can remotely read confidential system files, including private keys and certificates, leading to full compromise of system confidentiality and integrity.

Recommendation

Immediately update DeepCode to a version after commit c991dc2 or apply a patch that fixes the path traversal vulnerability in the SPA routing. Additionally, restrict access to the GET /{full_path:path} endpoint to authenticated users only and implement server-side path validation.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS