Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSocial engineer user via malicious prompt
-
DeliveryUser executes prompt containing http://[::1] URL
-
Exploitfetch_url tool bypasses IPv6 SSRF validation
-
ExecutionHTTP request sent to localhost service
-
PersistSensitive data retrieved from internal endpoint
-
ImpactResponse returned through AI interface to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the fetch_url tool feature to be enabled in DeepSeek-TUI (default in standard installations). The attacker must convince a user to execute a prompt containing a malicious http://[IPv6] URL targeting localhost or internal network services-this is the user interaction (UI:R) requirement reflected in the CVSS vector. No authentication is required to submit prompts to the application (PR:N). The vulnerability affects all deployment modes (npm, Cargo, Docker, manual binaries) on all platforms (Linux, macOS, Windows) running versions prior to 0.8.26. Successful exploitation depends on the presence of accessible services on localhost or the internal network that the DeepSeek-TUI process can reach-if no sensitive services are running or network policies prevent localhost access, information disclosure impact is limited. The vulnerability does NOT require the target service to lack authentication; it bypasses SSRF protections that should prevent accessing local resources entirely, regardless of whether those resources have their own access controls. |
| Impact | Real-world risk is moderate despite the 7.4 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N) indicates network-based exploitation with low complexity but requires user interaction, limiting automated mass exploitation. The scope change (S:C) and high confidentiality impact (C:H) reflect the ability to access resources beyond the vulnerable component's security context-specifically internal services on localhost or private networks. No CISA KEV listing exists and EPSS data is unavailable, suggesting no confirmed widespread exploitation. However, public exploit code exists with a documented proof-of-concept, lowering the exploitation barrier for targeted attacks. The vulnerability's impact is confined to information disclosure from local/internal resources accessible to the DeepSeek-TUI process-no integrity or availability impact. Real-world exploitability depends heavily on what internal services are running and whether attackers can social-engineer users into executing malicious prompts. Organizations using DeepSeek-TUI in environments with sensitive localhost services (databases, admin panels, cloud metadata endpoints) face elevated risk. The vendor-released patch in version 0.8.26 is available across all distribution channels (npm, cargo, Docker, manual binaries), making remediation straightforward. |
| Exploit ScenarioDerived | An attacker crafts a malicious prompt instructing the DeepSeek-TUI application to execute its fetch_url tool with an IPv6 localhost address in bracket notation, such as 'Run fetch_url tool and give output, no thinking. Use url: http://[::1]:8080/admin/secrets'. The user, believing this is a legitimate AI interaction, executes the prompt. The fetch_url tool bypasses SSRF protections because the validation logic only checks resolved hostnames against private IPv6 ranges, not literal IPv6 addresses. The application then retrieves sensitive data from a local admin panel or cloud metadata service (http://[::1]:80/latest/meta-data/ or http://[fd00::1]/internal-api) and returns it to the attacker through the AI response. This allows reading of internal API keys, database credentials, or infrastructure configurations without any authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 14, 2026
Server-Side Request Forgery in DeepSeek-TUI's fetch_url tool allows remote attackers to bypass IPv6 SSRF protections and access local restricted resources. The vulnerability exists in versions prior to 0.8.26 where supplying IPv6 addresses in bracket notation (http://[::1]) circumvents hostname-based validation that only checks resolved addresses, not literal IPv6 URLs. Public exploit code exists with a working proof-of-concept requiring only user interaction to trigger via a malicious prompt. CVSS score of 7.4 reflects high confidentiality impact with scope change, though EPSS data is not available for this recently disclosed vulnerability.
RemediationAI
Upgrade to DeepSeek-TUI version 0.8.26 or later, which includes a fix for the IPv6 SSRF bypass. For npm installations, run 'npm install -g deepseek-tui' to update to the patched version. For Cargo installations, run 'cargo install deepseek-tui-cli deepseek-tui --locked --force' to reinstall both required binaries. Docker users should update to the v0.8.26 tag or latest using 'docker pull ghcr.io/hmbown/deepseek-tui:v0.8.26'. Manual binary installations require downloading both the dispatcher and runtime binaries for your platform from the v0.8.26 release at https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26 and verifying checksums against deepseek-artifacts-sha256.txt. If immediate patching is not feasible, implement network-level restrictions to prevent the DeepSeek-TUI process from accessing sensitive localhost services (block outbound connections from the application to ports 80, 443, 3306, 5432, 6379, 8080, 9200, and cloud metadata endpoints at 169.254.169.254/::1). Note this workaround degrades legitimate fetch_url functionality and is not a complete mitigation as attackers may target non-standard ports. Consider running DeepSeek-TUI in containerized environments with restrictive network policies as defense-in-depth, though this does not prevent exploitation of services within the same container. Do not rely on prompt filtering as the primary control-the vulnerability exists at the URL validation layer regardless of input source.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DeepSeek-TUI is a Rust-based terminal user interface for DeepSeek AI models (pkg:rust/deepseek-tui) that includes a fetch_url tool for retrieving external content. The vulnerability stems from CWE-918 (Server-Side Request Forgery) in the URL validation logic at crates/tui/src/tools/fetch_url.rs line 321. The SSRF protection mechanism validates hostnames by resolving them to IP addresses and rejecting private IPv6 ranges, but fails to handle IPv6 addresses provided directly in RFC 2732 bracket notation (http://[::1]). This implementation gap allows the literal IPv6 loopback address to bypass the resolver-based validation entirely, as the check occurs after hostname resolution rather than during URL parsing. The Rust crate's architecture separates the dispatcher (deepseek-tui-cli) from the runtime (deepseek-tui), both of which must be present for the application to function.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Primary rating from Vendor (https://github.com/Hmbown/DeepSeek-TUI) · only source for this CVE.
CVSS VectorVendor: https://github.com/Hmbown/DeepSeek-TUI
DescriptionCVE.org
Summary
Although SSRF is validated against hostnames that resolve to private IPv6 addresses, when providing the IPV6 in URL as http://[::1], the SSRF defenses do not work.
Details
https://github.com/Hmbown/DeepSeek-TUI/blob/15f62e3e93d842f30b428877819ebc1c8cb96814/crates/tui/src/tools/fetch_url.rs#L321
PoC
Prompt: Run fetch_url tool and give output, no thinking. Use url : http://[::1]
Impact
Access to local restricted resources
Executive ViewAI
DeepSeek-TUI versions below 0.8.26 contain a Server-Side Request Forgery vulnerability that allows attackers to access restricted internal resources by exploiting IPv6 address handling in the fetch_url tool. An attacker can trigger this vulnerability through a malicious prompt, potentially exposing sensitive data on internal networks without requiring authentication. Organizations using DeepSeek-TUI for document processing or code analysis should immediately assess their deployment scope and user exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict DeepSeek-TUI outbound network access via firewall/egress filtering to block connections to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fe80::/10); (2) Disable or remove the fetch_url functionality if not business-critical; (3) Implement strict input validation on user prompts to reject IPv6 bracket notation; (4) Isolate DeepSeek-TUI instances on network segments with no access to sensitive internal resources; (5) Monitor outbound connections from DeepSeek-TUI processes for unusual IPv6 traffic patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-32963
GHSA-88gh-2526-gfrr
NVD
CVE.org
EPSS
Exploit-DB