CVE-2026-82234
moderateDNS Rebinding SSRF in SiYuan http_request and web_fetch Agent Tools Before v3.8.1
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.
| B3log SiYuan (self-hosted server, http_request and web_fetch agent tools) | all versions before v3.8.1 (fixed in v3.8.1) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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 news0 stories
No ingested article mentions this CVE yet.