CVE-2026-49138

Nanobot < 0.2.1 SSRF via web_fetch Tool Redirect Following

Published Jun 1, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Nanobot, before version 0.2.1, contains a server‑side request forgery flaw in the web_fetch tool that allows 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. The attacker takes advantage of the httpx library’s automatic HTTP redirect following, which bypasses initial URL validation and causes the runtime to send outbound requests to internal hosts before final resolved‑URL validation is applied. Based on the description, it is inferred that this flaw could be used to exfiltrate data or communicate with services that are otherwise inaccessible from the Internet, resulting in potential compromise of internal resources.

Affected Systems

Impact applies to the HKUDS Nanobot tool, specifically any release earlier than 0.2.1. No other vendor or product versions are listed.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the EPSS score is not available. Because the vulnerability is remotely exploitable over HTTP and requires only a crafted request, it can be inferred that the likelihood of exploitation is significant for attackers who target exposed instances of Nanobot. The flaw is not listed in the CISA KEV catalog, but it can still be leveraged to gain internal network access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nanobot to version 0.2.1 or later to eliminate the SSRF vulnerability.
  • Restrict the web_fetch tool to use only whitelisted, trusted URLs or disable its redirect following feature.
  • Implement network segmentation or firewall rules that block outbound traffic from Nanobot to internal loopback or private address ranges.

Generated by OpenCVE AI on June 1, 2026 at 21:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-434r-7c99-hwf3 Nanobot contains a server-side request forgery vulnerability in the web_fetch tool
History
Type Values Removed Values Added
First Time appeared Nanobot
Nanobot nanobot
CPEs cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:python:*:*
Vendors & Products Nanobot
Nanobot nanobot
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Hkuds
Hkuds nanobot
Vendors & Products Hkuds
Hkuds nanobot
Type Values Removed Values Added
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.
Title Nanobot < 0.2.1 SSRF via web_fetch Tool Redirect Following
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:04 PM
Reserved
May 27, 2026, 5:40 PM
Status
Deferred
Published
Jun 1, 2026, 9:16 PM
Modified
Oct 8, 2026, 4:17 PM