CVE-2026-49138
CVE-2026-49138 · Nanobot < 0.2.1 SSRF via web_fetch Tool Redirect Following
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
nanobot
- Versions
- ≥ 0, < 0.2.1: Affected (semver)
Update to 0.2.1
nanobot-ai PyPI
- Versions
- 0.1.3.post7
- 0.1.4
- 0.1.4.post2
- 0.1.4.post3
- 0.1.4.post4
- 0.1.4.post5
- 0.1.4.post6
- 0.1.5
- 0.1.5.post1
- 0.1.5.post2
- 0.1.5.post3
- 0.2.0
- Affected ranges
- ECOSYSTEM: < 0.2.1
Update to 0.2.1
Original sources
- https://github.com/HKUDS/nanobot/releases/tag/v0.2.1
- https://github.com/HKUDS/nanobot/pull/3928
- https://github.com/HKUDS/nanobot/commit/545294c62c0947da40eb5b65288aaf02b5fdf632
- https://www.vulncheck.com/advisories/nanobot-ssrf-via-web-fetch-tool-redirect-following
- https://nvd.nist.gov/vuln/detail/CVE-2026-49138