ZeroHour

CVE-2026-82234

moderate

DNS Rebinding SSRF in SiYuan http_request and web_fetch Agent Tools Before v3.8.1

CVSS 4.0
8.4 high
EPSS
<1%p25
Published
()
Modified
AI analysis

SiYuan versions before v3.8.1 contain a server-side request forgery flaw (CWE-918) in the http_request and web_fetch agent tools, which enforce their SSRF guard by resolving the target hostname only once and never validating the IP address actually used when the connection is opened. An attacker exploits this with DNS rebinding: the guard-time DNS lookup returns a benign public IP that passes the filter, while the connect-time lookup returns a private or metadata address, so the request bypasses the defense entirely. A successful attack lets the attacker reach the cloud instance metadata service (potentially reading instance credentials where exposed) and access services on the host's internal network. Anyone running an affected self-hosted SiYuan server — especially on a cloud VM with a metadata endpoint — and allowing the agent tools to fetch attacker-chosen URLs is affected, with some user or agent interaction required per the CVSS UI:P metric. No public proof-of-concept, CISA KEV listing, or confirmed in-the-wild exploitation is known; EPSS estimates a 0.3% probability of exploitation within 30 days.

What to do: Upgrade SiYuan to v3.8.1 or later, which validates the connect-time resolution. Until upgraded, keep the http_request and web_fetch agent tools from fetching untrusted or attacker-chosen URLs and restrict their egress to block the metadata endpoint (169.254.169.254) and internal RFC1918 ranges. If the server runs on a cloud VM, audit and rotate any credentials reachable through the instance metadata service as a precaution.

Affected
B3log SiYuan (self-hosted server, http_request and web_fetch agent tools)all versions before v3.8.1 (fixed in v3.8.1)
Estimated exposure
moderate≈1k–10k internet-exposed self-hosted instances; tens of thousands of self-hosted users overall — Estimated from SiYuan's standing as a widely used open-source note-taking/knowledge-management server whose self-hosted user base is plausibly in the tens of thousands, while the directly affected subset — vulnerable servers with the agent…

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

Description

SiYuan versions before v3.8.1 contain a server-side request forgery vulnerability in the http_request and web_fetch agent tools that perform DNS resolution only at guard time without validating the connect-time resolution. Attackers can use DNS rebinding to answer the guard resolution with a public IP and the connect resolution with a private or metadata IP, bypassing the SSRF defense to access cloud instance metadata and internal services.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/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.