Nanobot contains a server-side request forgery vulnerability in the web_fetch tool
CVE-2026-49138 · GHSA-434r-7c99-hwf3 · published 2026-06-01 · updated 2026-07-27
- Severity
- Medium
- CVSS score
- 5.0
- Chance of exploitation (EPSS)
- 0.29%
- Fixed in
- 0.2.1
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Nanobot prior to version 0.2.1 contains a server-side request forgery vulnerability in the web_fetch tool that allows remote attackers to reach internal or private network hosts by supplying a URL that redirects to a loopback or private address via a 3xx Location header. Attackers can exploit the automatic HTTP redirect following behavior in the httpx library to bypass initial URL validation and cause the runtime to send outbound requests to internal hosts before final resolved URL validation is applied.
Upgrade nanobot-ai to 0.2.1 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| nanobot-ai | PyPI | < 0.2.1 | 0.2.1 |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalCodeWhale: SSRF bypass - TOCTOU on DNS failure for DNS pinningcodewhale
- Criticalunstructured: Server-Side Request Forgery in the URL-based partitioningunstructured
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.