CVE-2026-32847
JSON

8.7high

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

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
HKUDS DeepCodeup to 1.2.0, up to c991dc22e67958a031f2e20595128a6a5fbd8f3dCVE List, NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

DeepCode a través del commit c991dc2 contiene una vulnerabilidad de salto de ruta en la ruta comodín de SPA en new_ui/backend/main.py que permite a atacantes no autenticados leer archivos arbitrarios al proporcionar segmentos de ruta codificados por porcentaje al endpoint GET /{full_path:path}. Los atacantes pueden eludir la normalización de rutas de Starlette codificando las barras diagonales como %2F y los puntos como %2E%2E, haciendo que la ruta unida se desplace fuera de FRONTEND_DIST y exponiendo archivos sensibles como claves privadas SSH, certificados TLS y secretos de aplicación con una única solicitud HTTP.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-32847 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-32847 changed 2026-10-26Public domain