Skip to main content

HKUDS nanobot CVE-2026-19246

| EUVDEUVD-2026-54680 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-07 VulDB GHSA-g4fw-p4hw-gq39
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to nanobot with low-privilege credentials
  2. Delivery
    Configure or control a provider that returns image URLs
  3. Exploit
    Submit image generation request targeting internal endpoint
  4. Execution
    nanobot fetches provider-returned URL without SSRF validation
  5. Impact
    Internal 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 _download_image_data_url. The attacker must be able to influence the image URL returned by the provider - either by controlling a malicious provider backend, by reconfiguring the nanobot instance to use a provider under attacker control, or by other means of injecting the URL into the provider response path. No non-default configuration of nanobot itself is required beyond having image generation with a URL-returning provider enabled, which is a standard use case. Exploitation is concretely limited by the authentication requirement (unauthenticated network access alone is insufficient) and by the availability of a controllable provider URL in the workflow.

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 http://169.254.169.254/latest/meta-data/iam/security-credentials/ (AWS IMDS) or an internal Kubernetes API. Nanobot's _download_image_data_url fetches the URL server-side without SSRF validation, proxying the internal response content back to the attacker. A public POC demonstrating this technique is available at https://gist.github.com/YLChen-007/44bc77ac259e461c6938cc6c286c4430.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nanobot 0.2.1
nanobot 0.2.0

Affected Packages

euvd nanobot no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 07, 2026 - 21:22 NVD
MEDIUM LOW
CVSS changed
Aug 07, 2026 - 21:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 07, 2026 - 21:00 cve.org
LOW 2.1

DescriptionCVE.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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Rare
academic AI agent framework, limited known enterprise deployment
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2026-35589 CRITICAL
9.3 Apr 14

Cross-Site WebSocket Hijacking in nanobot personal AI assistant (versions before 0.1.5) allows remote websites to establ

CVE-2026-137463 CRITICAL
9.1 Nov 26

Man-in-the-middle interception of HKUDS nanobot's OpenAI Codex provider traffic in versions 0.1.4 through 0.4.0 can hand

CVE-2026-33654 HIGH
8.9 Mar 27

Remote code execution in nanobot personal AI assistant (versions prior to 0.1.6) allows unauthenticated attackers to exe

CVE-2026-48716 HIGH
8.7 Jun 18

Arbitrary file write in HKUDS Nanobot's WhatsApp bridge (versions 0.1.5.post3 and prior) allows remote unauthenticated a

CVE-2026-121864 HIGH
7.7 Nov 17

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

CVE-2026-121865 HIGH
7.2 Nov 17

Authenticated workspace boundary escape in nanobot-ai 0.3.5 through 0.4.0 lets a standard WebSocket client holding a val

CVE-2026-49139 HIGH
7.0 Jun 01

Server-side request forgery in Nanobot (HKUDS) prior to 0.2.1 lets unauthenticated remote attackers exfiltrate Microsoft

CVE-2026-90809 MEDIUM
6.9 Sep 14

Argument injection in HKUDS nanobot's ExecTool shell execution guard allows remote unauthenticated attackers to bypass t

CVE-2026-19243 LOW POC
2.1 Aug 07

OS command injection in HKUDS nanobot 0.2.0 and 0.2.1 allows a low-privileged remote attacker to bypass the configured s

CVE-2026-19244 LOW POC
2.0 Aug 07

MCP resource and prompt wrappers in HKUDS nanobot 0.2.0 and 0.2.1 bypass operator-defined `enabledTools` access restrict

CVE-2026-19245 LOW POC
1.9 Aug 07

Login-shell environment variable leakage in HKUDS nanobot up to 0.2.1 exposes sensitive environment variables to local l

CVE-2026-49140 MEDIUM
5.3 Jun 01

Nanobot's Matrix channel media download handler exhausts process memory and bandwidth when authenticated room members su

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy