| Component | Nanobot |
| Severity | medium (CVSS 5) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| Published (NVD) | 2026-06-01 |
| Last modified | 2026-06-02 |
| Affected versions | < 0.2.1 read from the advisory text: NVD has not published CPE data yet |
| Fixed in | 0.2.1 |
| Weakness | CWE-918 |
| CISA KEV | not listed |
NVD 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.
What to do
- Upgrade Nanobot to
0.2.1or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-49138
- 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
Other Nanobot CVEs
A vulnerability was determined in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of the file na...
A vulnerability was identified in HKUDS nanobot up to 0.2.1. The affected element is the function ExecTool._guard_command/ExecTool._spawn of...
A vulnerability has been found in HKUDS nanobot up to 0.2.1. This affects the function _download_image_data_url of the file nanobot/provider...
A vulnerability was detected in HKUDS nanobot up to 0.2.1. The affected element is the function connect_mcp_servers of the file nanobot/agen...
A security vulnerability has been detected in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of...
A flaw has been found in HKUDS nanobot up to 0.2.1. The impacted element is the function ExecTool._prepare_command of the file nanobot/agent...