Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to nanobot with low-privilege credentials
-
DeliveryConfigure or control a provider that returns image URLs
-
ExploitSubmit image generation request targeting internal endpoint
-
Executionnanobot fetches provider-returned URL without SSRF validation
-
ImpactInternal service response (e.g., cloud credentials, internal API data) returned to attacker
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 low-privilege authenticated access to the nanobot instance (PR:L per CVSS 4.0 vector). The vulnerable code path is triggered specifically when an AI image generation provider returns an image as a URL rather than inline base64 data, and nanobot then fetches that URL server-side via |
| Impact | The CVSS 4.0 base score of 2.1 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) reflects limited per-dimension impact ratings rather than a low-severity class of vulnerability. The PR:L requirement is the primary risk limiter - exploitation requires authenticated access to the nanobot instance, meaningfully constraining the attack surface relative to unauthenticated SSRF. The E:P supplemental metric confirms a publicly available exploit, which modestly elevates urgency above a hypothetical baseline. No CISA KEV listing and no EPSS score provided in the input data; targeted rather than widespread exploitation should be assumed. Real-world severity is highly deployment-context-dependent: a nanobot instance running in a cloud environment adjacent to an IMDS (169.254.169.254) or internal Kubernetes API server faces materially higher risk than one isolated from internal networks. The CVSS 4.0 VI:L and VA:L ratings appear to account for the possibility of SSRF being chained to internal mutation endpoints, though the vulnerable code path is a GET-only image download; direct integrity and availability impact from this specific function alone is limited. No conflicting signals detected between the CVSS vector and the description. |
| Exploit ScenarioDerived | An authenticated nanobot user configures or controls a malicious image generation provider endpoint that returns a crafted image URL pointing to an internal resource such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
Server-side request forgery in HKUDS nanobot up to 0.2.1 allows authenticated remote attackers to make the server issue HTTP requests to arbitrary internal endpoints by manipulating URLs returned by AI image generation providers. The _download_image_data_url function in nanobot/providers/image_generation.py fetched provider-returned image URLs directly via client.get(url) without routing through the existing validate_url_target SSRF guard in security/network.py, leaving cloud metadata endpoints (e.g., 169.254.169.254), RFC1918 ranges, and internal services reachable. A public POC exploit exists; a patch is available on the main branch as PR #5095 and is planned for release in v0.3.1. No CISA KEV listing; exploitation is not confirmed at mass scale.
RemediationAI
Apply the upstream patch from PR #5095 (https://github.com/HKUDS/nanobot/pull/5095), which is currently merged into the main branch and planned for release as v0.3.1. Until a tagged release is published, operators can install nanobot directly from the patched main branch commit. As a compensating network-layer control prior to patching, configure egress firewall rules on the nanobot host to block outbound HTTP/HTTPS to RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), CGNAT (100.64.0.0/10), link-local (169.254.0.0/16), and cloud metadata IPs (notably 169.254.169.254) - this replicates the in-code SSRF guard at the network layer. Note that network-layer controls are weaker than the code-level fix because they cannot protect against DNS rebinding attacks; the patched PinnedDNSAsyncTransport resolves DNS once and pins the connection, preventing rebinding. Additionally, restrict nanobot instance access to trusted authenticated users only, as PR:L is a prerequisite for exploitation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
nanobot is an open-source AI agent framework from HKUDS (Hong Kong University of Data Science) that orchestrates LLM-backed agents with tool use, including AI image generation via external providers. The affected CPE is cpe:2.3:a:hkuds:nanobot:*:*:*:*:*:*:*:*. CWE-918 (Server-Side Request Forgery) manifests because the _download_image_data_url function unconditionally fetched HTTP URLs returned by provider APIs without applying the shared validate_url_target or resolve_url_target guards defined in security/network.py. Those guards block loopback, RFC1918 private ranges, CGNAT (100.64.0.0/10), link-local (169.254.0.0/16), and cloud metadata endpoints. The PR #5095 fix introduces PinnedDNSAsyncTransport for DNS-pinned direct downloads, adds per-redirect URL revalidation with resolve_url_target, enforces a 32 MiB response size cap, and supports an explicit user-configured proxy with its own trust boundary semantics for providers whose image hostnames are DNS-unavailable to the nanobot host.
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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
GET-only image download path limits impact to partial confidentiality via SSRF; PR:L reflects required authenticated access; no direct integrity or availability impact from this specific function.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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/providers/image_generation.py of the component Provider-returned Image URL Handler. The manipulation leads to server-side request forgery. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of the patch is 5095. It is recommended to apply a patch to fix this issue. The vendor explains: "We confirm that provider-returned image URLs required the same SSRF protections applied to other network retrieval paths. (...) The patch is currently available on main and is planned for the next patch release, v0.3.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
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
Nanobot's Matrix channel media download handler exhausts process memory and bandwidth when authenticated room members su
EUVD-2026-54680
GHSA-g4fw-p4hw-gq39
NVD
CVE.org
EPSS
VulDB
Exploit-DB