5.3medium
Nanobot < 0.2.1 SSRF via web_fetch Tool Redirect Following
- Severity
- 5.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.49% (higher than 35% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-434r-7c99-hwf3PYSEC-2026-3580
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
| Product or package | Versions | Reported by |
|---|---|---|
| HKUDS nanobot | before 0.2.1 | CVE List |
| nanobot-ai (PyPI) | before 0.2.1 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:N/SA:N |
| VulnCheck | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| GitHub | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:N/SA:N |
| PyPA Advisory Database | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Nanobot anterior a la versión 0.2.1 contiene una vulnerabilidad de falsificación de petición del lado del servidor en la herramienta web_fetch que permite a atacantes remotos alcanzar hosts de red internos o privados al proporcionar una URL que redirige a una dirección de bucle invertido o privada a través de una cabecera Location 3xx. Los atacantes pueden explotar el comportamiento de seguimiento automático de redirecciones HTTP en la biblioteca httpx para eludir la validación inicial de la URL y hacer que el tiempo de ejecución envíe peticiones salientes a hosts internos antes de que se aplique la validación final de la URL resuelta.
References
| https://github.com/HKUDS/nanobot/releases/tag/v0.2.1 | release-notes, web | |
| https://github.com/HKUDS/nanobot/pull/3928 | exploit, issue-tracking, patch, web | |
| https://github.com/HKUDS/nanobot/commit/545294c62c0947da40eb5b65288aaf02b5fdf632 | patch, web | |
| https://www.vulncheck.com/advisories/nanobot-ssrf-via-web-fetch-tool-redirect-following | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-49138 | advisory | |
| https://github.com/HKUDS/nanobot | package | |
| https://pypi.org/project/nanobot-ai | package | |
| https://github.com/advisories/GHSA-434r-7c99-hwf3 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49138 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-434r-7c99-hwf3 changed 2026-08-04 | CC-BY-4.0 |
| NVD | CVE-2026-49138 changed 2026-10-08 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3580 changed 2026-08-04 | CC-BY-4.0 |