DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-32847
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:15 UTC · Revision 1
Source evidence
DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py
core-osv · Original sourcePublished 28 May 2026, 19:32 UTC
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.
osv:CVE-2026-32847
Complete source record
{
"id": "84b59bf1c0b0ab9d658e13981f8e526dbb2f2aa6b662ea012864cdab3f37a69b",
"url": "https://osv.dev/vulnerability/CVE-2026-32847",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py",
"summary": "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.",
"evidence": "osv:CVE-2026-32847",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-32847",
"aliases": [
"CVE-2026-32847"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hkuds/deepcode",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "ca2c068ec9f4b0b5fe8c2cbd7b7f73090f5058bc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:hkuds:deepcode:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.2.0",
"v1.1.0",
"v1.0.9",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32847.json"
}
}
],
"modified": "2026-10-28T02:30:46.296668533Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32847.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-32847",
"https://www.vulncheck.com/advisories/deepcode-path-traversal-via-spa-catch-all-route-in-main-py",
"https://github.com/HKUDS/DeepCode/issues/126",
"https://github.com/HKUDS/DeepCode"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32847.json"
}
},
"related_cves": [
{
"value": "CVE-2026-32847",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514198,
"published_at": "2026-05-28T19:32:13.224+00:00"
}