ZeroHour

CVE-2026-92576

niche

Server-Side Request Forgery in HKUDS nanobot WebFetchTool

CVSS 4.0
9.2 critical
EPSS
Published
()
Modified
AI analysis

HKUDS nanobot before 0.3.0 contains a server-side request forgery (CWE-918) in its WebFetchTool component: the _validate_url() function fails to block internal IP ranges, private (RFC 1918) addresses, and loopback targets. An attacker who can send messages to the bot simply instructs it to fetch URLs such as the cloud metadata endpoint (169.254.169.254), localhost services, or internal network addresses, and the tool performs the requests and returns the responses. This lets the attacker harvest IAM/cloud credentials from the metadata service and read data from internal services reachable from the host running the bot, with no privileges or user interaction required (CVSS 4.0 9.2 critical). Anyone running an affected version of nanobot with WebFetchTool enabled and reachable by untrusted message input is affected. There is currently no evidence of in-the-wild exploitation and no public proof-of-concept is known.

What to do: Upgrade nanobot to version 0.3.0 or later, which fixes the URL validation in WebFetchTool. If upgrading is not immediately possible, restrict who can send messages that trigger web fetches and apply network-level controls so hosts running nanobot cannot reach 169.254.169.254, localhost, or RFC 1918 ranges (e.g., metadata endpoint firewalling and egress filtering). Review cloud and proxy logs for unexpected requests to metadata or internal addresses originating from hosts running nanobot.

Affected
HKUDS nanobotall versions before 0.3.0
Estimated exposure
nichelikely low thousands of self-hosted agent deployments at most (niche open-source AI agent project; no public install counts) — Estimated from nanobot's status as a recently released, niche open-source agent framework whose deployments are typically self-hosted developer instances, where exploitability additionally requires the bot's messaging interface to be…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

HKUDS nanobot before 0.3.0 contains a server-side request forgery vulnerability in the WebFetchTool component where the _validate_url() function fails to block internal IP ranges and private addresses. Attackers can send messages instructing the bot to fetch cloud metadata endpoints, localhost services, and RFC 1918 addresses to extract IAM credentials and internal service data.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.