CVE-2026-32847: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS DeepCode
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.
AI Analysis
Technical Summary
The vulnerability exists in DeepCode through commit c991dc2, where the SPA catch-all route improperly limits pathnames to a restricted directory. Attackers can encode slashes as %2F and dots as %2E%2E to bypass the framework's normalization and traverse outside the intended FRONTEND_DIST directory. This allows reading of arbitrary files without authentication, exposing critical sensitive information.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server, including highly sensitive files like SSH private keys, TLS certificates, and application secrets. This exposure can lead to further compromise of the system and its data confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict access to the vulnerable endpoint if possible and monitor for suspicious requests targeting path traversal patterns.
CVE-2026-32847: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS DeepCode
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.
CVSS v4.0
Score 8.7high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in DeepCode through commit c991dc2, where the SPA catch-all route improperly limits pathnames to a restricted directory. Attackers can encode slashes as %2F and dots as %2E%2E to bypass the framework's normalization and traverse outside the intended FRONTEND_DIST directory. This allows reading of arbitrary files without authentication, exposing critical sensitive information.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server, including highly sensitive files like SSH private keys, TLS certificates, and application secrets. This exposure can lead to further compromise of the system and its data confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict access to the vulnerable endpoint if possible and monitor for suspicious requests targeting path traversal patterns.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-03-16T18:11:41.758Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a189d28e29bf47b50227a07
Added to database: 05/28/2026, 19:53:12 UTC
Last enriched: 07/15/2026, 10:51:13 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 36
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.