CVE-2026-74905: Server-Side Request Forgery (SSRF) in siyuan-note siyuan
SiYuan before v3.7.4 contains a server-side request forgery (SSRF) vulnerability in the isPrivateIP function in kernel/util/net.go, used by SSRFSafeDialer to enforce SSRF protection in SafeMode. The function only checks for loopback, link-local unicast, private, and unspecified addresses and does not recognize IPv6 transition addresses (NAT64 64:ff9b::/96, 6to4 2002::/16, Teredo 2001::/32) that embed private IPv4 destinations. When SafeMode is enabled, an authenticated attacker can bypass the SSRF guard via the network forward proxy, WebSocket proxy, or SSE proxy endpoints by supplying a URL whose hostname resolves to such a transition address, reaching internal services and cloud metadata endpoints (e.g., 169.254.169.254). Because the forward proxy returns the full response body, this is a full-read SSRF that can be used to steal instance credentials, reach internal services, and port-scan internal infrastructure.
AI Analysis
Technical Summary
The SSRF vulnerability in SiYuan before version 3.7.4 arises from the isPrivateIP function in kernel/util/net.go, which is used by SSRFSafeDialer to enforce SSRF protection in SafeMode. The function only checks for loopback, link-local unicast, private, and unspecified IP addresses but does not recognize IPv6 transition addresses such as NAT64 (64:ff9b::/96), 6to4 (2002::/16), and Teredo (2001::/32) that embed private IPv4 addresses. An authenticated attacker can exploit this by supplying URLs resolving to these transition addresses via proxy endpoints, bypassing SSRF protections and accessing internal services including cloud metadata endpoints like 169.254.169.254. The forward proxy returns the full response body, enabling full-read SSRF attacks that can lead to credential theft and internal network reconnaissance.
Potential Impact
An authenticated attacker can bypass SSRF protections in SiYuan before v3.7.4 when SafeMode is enabled, allowing them to access internal services and cloud metadata endpoints. This can lead to theft of instance credentials and internal port scanning, potentially compromising internal infrastructure confidentiality and security.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid enabling SafeMode or restrict access to proxy endpoints to trusted users only. Monitor for vendor updates regarding a patch or official remediation.
CVE-2026-74905: Server-Side Request Forgery (SSRF) in siyuan-note siyuan
Description
SiYuan before v3.7.4 contains a server-side request forgery (SSRF) vulnerability in the isPrivateIP function in kernel/util/net.go, used by SSRFSafeDialer to enforce SSRF protection in SafeMode. The function only checks for loopback, link-local unicast, private, and unspecified addresses and does not recognize IPv6 transition addresses (NAT64 64:ff9b::/96, 6to4 2002::/16, Teredo 2001::/32) that embed private IPv4 destinations. When SafeMode is enabled, an authenticated attacker can bypass the SSRF guard via the network forward proxy, WebSocket proxy, or SSE proxy endpoints by supplying a URL whose hostname resolves to such a transition address, reaching internal services and cloud metadata endpoints (e.g., 169.254.169.254). Because the forward proxy returns the full response body, this is a full-read SSRF that can be used to steal instance credentials, reach internal services, and port-scan internal infrastructure.
CVSS v4.0
Score 6.9medium
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The SSRF vulnerability in SiYuan before version 3.7.4 arises from the isPrivateIP function in kernel/util/net.go, which is used by SSRFSafeDialer to enforce SSRF protection in SafeMode. The function only checks for loopback, link-local unicast, private, and unspecified IP addresses but does not recognize IPv6 transition addresses such as NAT64 (64:ff9b::/96), 6to4 (2002::/16), and Teredo (2001::/32) that embed private IPv4 addresses. An authenticated attacker can exploit this by supplying URLs resolving to these transition addresses via proxy endpoints, bypassing SSRF protections and accessing internal services including cloud metadata endpoints like 169.254.169.254. The forward proxy returns the full response body, enabling full-read SSRF attacks that can lead to credential theft and internal network reconnaissance.
Potential Impact
An authenticated attacker can bypass SSRF protections in SiYuan before v3.7.4 when SafeMode is enabled, allowing them to access internal services and cloud metadata endpoints. This can lead to theft of instance credentials and internal port scanning, potentially compromising internal infrastructure confidentiality and security.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid enabling SafeMode or restrict access to proxy endpoints to trusted users only. Monitor for vendor updates regarding a patch or official remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T10:48:45.738Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a844364c6e8be03322294a4
Added to database: 08/18/2026, 11:35:00 UTC
Last enriched: 08/18/2026, 12:06:29 UTC
Last updated: 08/18/2026, 15:17:34 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.