Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Nanobot with low-privilege credentials
-
DeliveryInvoke web_fetch tool with attacker-controlled external URL
-
ExploitAttacker server returns HTTP 3xx redirect to internal/loopback address
-
Executionhttpx follows redirect before post-redirect validation is applied
-
PersistNanobot sends outbound request to internal host
-
ImpactAttacker reads internal host response via tool output
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session with at least low-privilege access to Nanobot (PR:L per CVSS vector) and the ability to invoke the web_fetch tool - if tool access is role-restricted, lower-trust users may not be able to trigger it. The attacker must control an internet-reachable host capable of issuing HTTP 3xx redirect responses pointing to target internal addresses. The vulnerable behavior is specific to Nanobot versions prior to v0.2.1 and depends on the httpx library's default redirect-following configuration remaining unchanged. What limits exploitation: authentication is required (unauthenticated attackers cannot directly exploit this); impact is confined to confidentiality with no integrity or availability effect; the attacker cannot directly control the HTTP method or body sent to the internal host (limited to what web_fetch issues); and the scope of reachable internal hosts depends entirely on the network environment where Nanobot is deployed. Deployments running Nanobot in an isolated environment with no sensitive internal services face substantially lower real-world risk. |
| Impact | The CVSS 3.1 base score of 5.0 is driven by AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N. The Changed Scope signal is the most significant risk amplifier: even though the direct impact on confidentiality is rated Low, the scope change means Nanobot can act as a pivot point to reach components on internal networks that would otherwise be unreachable from the public internet, such as cloud metadata endpoints (e.g., 169.254.169.254), internal microservices, or admin panels. The Low Privileges requirement (PR:L) limits exploitation to users who already have some authenticated foothold in Nanobot - unauthenticated attackers cannot directly trigger web_fetch. Attack Complexity is Low, meaning no race conditions or special timing is needed once access is established. No EPSS score was provided in the source intelligence, so exploitation probability cannot be quantified numerically. There is no CISA KEV listing and no public POC, making this a credible but not urgently weaponized risk at time of analysis. The practical severity is moderate: highest for deployments where Nanobot runs inside a network with sensitive internal services and where multiple users or lower-trust users have agent access. |
| Exploit ScenarioDerived | An attacker with a low-privilege Nanobot account sets up an internet-accessible server configured to respond to any GET request with an HTTP 302 redirect pointing to an internal address such as http://192.168.1.1/admin or http://169.254.169.254/latest/meta-data/. The attacker invokes Nanobot's web_fetch tool with the URL of their controlled server; the initial validation passes because the target appears to be a legitimate external host. Nanobot's httpx client follows the 302 redirect, dispatches a request to the internal host, and the response content (potentially including credentials, configuration data, or network topology information) may be returned through the tool output to the attacker. No public POC has been identified at time of analysis, but the technique is well-understood and straightforward to implement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Server-side request forgery in Nanobot's web_fetch tool prior to v0.2.1 allows authenticated remote attackers to probe and reach internal or private network hosts by exploiting the httpx library's automatic HTTP redirect-following behavior. The attack bypasses initial URL validation by supplying a legitimate-looking external URL that responds with a 3xx redirect to a loopback or RFC-1918 address - the outbound request to the internal host is dispatched before any post-redirect validation is applied. No public exploit code exists and no CISA KEV listing is present, but the Changed Scope (S:C) in the CVSS vector indicates that successful exploitation can affect network components beyond Nanobot itself, such as internal APIs or metadata services.
RemediationAI
The primary fix is to upgrade Nanobot to v0.2.1 or later; the patch is available via the GitHub release at https://github.com/HKUDS/nanobot/releases/tag/v0.2.1 and was introduced in commit 545294c62c0947da40eb5b65288aaf02b5fdf632 (PR #3928). If an immediate upgrade is not possible, compensating controls should target the redirect-following behavior: configure the httpx client (or any HTTP client wrapping web_fetch) to disable automatic redirect following, then explicitly validate the Location header URL against an allowlist of permitted external domains before issuing a follow-up request - this eliminates the validation gap without patching. Alternatively, deploy Nanobot behind a network egress filter or HTTP proxy that blocks outbound connections to RFC-1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8, ::1), and cloud metadata service addresses (169.254.169.254) - note this adds operational overhead and may break legitimate internal integrations. Restricting web_fetch tool access to only highly-trusted user roles is a further risk-reduction measure while the patch is being deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nanobot (CPE: cpe:2.3:a:hkuds:nanobot:*:*:*:*:*:*:*:*) is an AI agent runtime developed by HKUDS that exposes a web_fetch tool enabling the agent to fetch arbitrary URLs on behalf of users. The underlying HTTP client is the Python httpx library, which follows 3xx Location redirects automatically by default. CWE-918 (Server-Side Request Forgery) describes the root cause: the application validates the user-supplied URL before issuing the request but does not re-validate or block the final destination after redirect resolution. This creates a TOCTOU-style gap - the initial URL appears safe (pointing to an attacker-controlled external host), but the 3xx redirect steers httpx to a loopback (127.0.0.1/::1) or private-range address (10.x, 172.16-31.x, 192.168.x) that would normally be rejected. Because the redirect is followed before final URL validation is applied, the request reaches the internal host and any response may be observable by the attacker through the tool's output.
Know when Nanobot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 1 pypi packages depend on nanobot-ai (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.2.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Cross-Site WebSocket Hijacking in nanobot personal AI assistant (versions before 0.1.5) allows remote websites to establ
Man-in-the-middle interception of HKUDS nanobot's OpenAI Codex provider traffic in versions 0.1.4 through 0.4.0 can hand
Remote code execution in nanobot personal AI assistant (versions prior to 0.1.6) allows unauthenticated attackers to exe
Arbitrary file write in HKUDS Nanobot's WhatsApp bridge (versions 0.1.5.post3 and prior) allows remote unauthenticated a
Sandbox escape in nanobot-ai 0.2.1 through 0.4.0 allows a low-privileged attacker who can drive the agent to induce crea
Authenticated workspace boundary escape in nanobot-ai 0.3.5 through 0.4.0 lets a standard WebSocket client holding a val
Server-side request forgery in Nanobot (HKUDS) prior to 0.2.1 lets unauthenticated remote attackers exfiltrate Microsoft
Argument injection in HKUDS nanobot's ExecTool shell execution guard allows remote unauthenticated attackers to bypass t
OS command injection in HKUDS nanobot 0.2.0 and 0.2.1 allows a low-privileged remote attacker to bypass the configured s
Server-side request forgery in HKUDS nanobot up to 0.2.1 allows authenticated remote attackers to make the server issue
MCP resource and prompt wrappers in HKUDS nanobot 0.2.0 and 0.2.1 bypass operator-defined `enabledTools` access restrict
Login-shell environment variable leakage in HKUDS nanobot up to 0.2.1 exposes sensitive environment variables to local l
EUVD-2026-33757
GHSA-434r-7c99-hwf3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB