6.9medium
SiYuan before v3.7.4 SSRF via IPv6 Transition Address Bypass
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| siyuan-note siyuan | before 3.7.4 Not affected: 3.7.4 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L |
| VulnCheck | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
SiYuan antes de la v3.7.4 contiene una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en la función isPrivateIP en kernel/util/net.go, utilizada por SSRFSafeDialer para aplicar la protección SSRF en SafeMode. La función solo verifica direcciones de bucle invertido, unicast de enlace local, privadas y no especificadas y no reconoce direcciones de transición IPv6 (NAT64 64:ff9b::/96, 6to4 2002::/16, Teredo 2001::/32) que incrustan destinos IPv4 privados. Cuando SafeMode está habilitado, un atacante autenticado puede eludir la protección SSRF a través de los puntos finales del proxy de reenvío de red, proxy WebSocket o proxy SSE al proporcionar una URL cuyo nombre de host se resuelve en una dirección de transición de este tipo, alcanzando servicios internos y puntos finales de metadatos en la nube (p. ej., 169.254.169.254). Debido a que el proxy de reenvío devuelve el cuerpo completo de la respuesta, esto es una SSRF de lectura completa que puede utilizarse para robar credenciales de instancia, alcanzar servicios internos y escanear puertos de la infraestructura interna.
References
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-qq8m-8p8v-x4xg | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/siyuan-before-ssrf-via-ipv6-transition-address-bypass | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74905 changed 2026-08-19 | CVE Terms of Use |
| NVD | CVE-2026-74905 changed 2026-10-22 | Public domain |