Nanobot contains a server-side request forgery vulnerability in the web_fetch tool
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | nanobot-ai | < 0.2.1 | 0.2.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49138
- https://github.com/HKUDS/nanobot/pull/3928
- https://github.com/HKUDS/nanobot/commit/545294c62c0947da40eb5b65288aaf02b5fdf632
- https://github.com/HKUDS/nanobot
- https://github.com/HKUDS/nanobot/releases/tag/v0.2.1
- https://www.vulncheck.com/advisories/nanobot-ssrf-via-web-fetch-tool-redirect-following
- https://pypi.org/project/nanobot-ai
- https://github.com/advisories/GHSA-434r-7c99-hwf3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N- Weakness (CWE)
CWE-918- Platform
- Python (PyPI)
- Package
nanobot-ai- Disclosed
- 01.06.2026
- Updated
- 11.10.2026 14:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3580 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-434r-7c99-hwf3 - CC BY 4.0
Vulnerability history: nanobot-ai
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.