Skip to main content
VulnerabilityPublished

github.com/siyuan-note/siyuan/kernel · Kernel: SiYuan Agent Tools SSRF via DNS-Rebinding TOCTOU (Bypass of CheckHostSSRF)

Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database

0

CVSS 8.2 High : upgrade to 0.0.0-20260813142806-dd2778b70d02 soon.

Data as of 3 Oct 2026, 17:38 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.0.0-20260813142806-dd2778b70d02
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

What to do

Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260813142806-dd2778b70d02.

Affected software

ProductAffectedFixed in
Gogithub.com/siyuan-note/siyuan/kernelAffected
  • <0.0.0-20260813142806-dd2778b70d02
Fixed in
  • 0.0.0-20260813142806-dd2778b70d02

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in SiYuan version 3.8.1 that fixes this vulnerability by properly enforcing connect-time IP checks. Users should upgrade to version 3.8.1 or later. No additional mitigations are required if the patch is applied. Until patched, restricting access to the AI Agent tools or limiting attacker control over URLs may reduce risk but is not a complete mitigation.

Description

SiYuan Agent Tools versions up to 3.8.0 contain a Server-Side Request Forgery (SSRF) vulnerability due to a DNS rebinding time-of-check to time-of-use (TOCTOU) flaw. The vulnerability arises because the SSRF protection performs a single DNS resolution at guard time but does not verify the IP address at connection time, allowing an attacker-controlled domain to bypass the check by returning a public IP initially and a private or loopback IP on connection. This enables access to internal services such as cloud instance metadata. The issue affects the AI Agent tools' http_request and web_fetch components and was patched in version 3.8.1.

References

Community reviews

Loading reviews…