Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 70%

CVE-2026-32847: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS DeepCode

0
High
VulnerabilityCVE-2026-32847cvecve-2026-32847
Published: 05/28/2026 (05/28/2026, 19:32:13 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:51:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses