What’s Vulnerable › Vulnerabilities
CVE-2026-49138: Nanobot < 0.2.1 SSRF via web_fetch Tool Redirect Following
- Severity: medium (CVSS 5.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-01 · updated 2026-10-08
- Weakness: CWE-918
Description
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.
Affected products
- HKUDS nanobot: before 0.2.1 — fixed in 0.2.1
How to fix
Upgrade to a fixed version: HKUDS nanobot 0.2.1. Check the vendor advisory for mitigations.
References
- https://github.com/HKUDS/nanobot/commit/545294c62c0947da40eb5b65288aaf02b5fdf632
- https://github.com/HKUDS/nanobot/pull/3928
- https://github.com/HKUDS/nanobot/releases/tag/v0.2.1
- https://www.vulncheck.com/advisories/nanobot-ssrf-via-web-fetch-tool-redirect-following
- https://github.com/HKUDS/nanobot/pull/3928
Get alerted when CVE-2026-49138 or the next vulnerability affects your stack