Skip to content
HighVulnerabilityLLM-specific

GHSA-96ff-gc8g-wpvg: DeepSeek TUI has SSRF via HTTP Redirect Bypass in fetch_url Tool

Published
Record updated
View JSON
Affected
  • deepseek-tui < 0.8.22
  • deepseek-tui-cli < 0.8.22
Fixed in
0.8.22
  • deepseek-tui 0.8.22 released May 8, 2026, 6 days before disclosure
  • deepseek-tui-cli 0.8.22 released May 8, 2026, 6 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

DeepSeek TUI's fetch_url tool checks the initial URL's resolved IP against an is_restricted_ip() blocklist, but its reqwest HTTP client follows up to five redirects without re-validating each target. A public URL that redirects to 169.254.169.254 therefore reaches the restricted address, and the researcher confirmed a 302 redirect was followed to that IP and to an attacker-controlled host. On cloud-hosted instances, prompt injection can drive this to exfiltrate IAM credentials and instance metadata.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.