CVE-2026-74905
JSON

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 packageVersionsReported by
siyuan-note siyuanbefore 3.7.4
Not affected: 3.7.4
CVE List

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
VulnCheck7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-918

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

Sources

SourceRecordLicence
CVE ListCVE-2026-74905 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-74905 changed 2026-10-22Public domain