Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker registers domain with controlled DNS server
-
DeliveryVictim's SiYuan processes attacker-supplied URL
-
ExploitGuard-time DNS resolves to public IP (passes blocklist check)
-
ExecutionAttacker flips DNS record to metadata or internal IP
-
PersistSiYuan connects to 169.254.169.254 or internal host
-
ImpactCloud credentials or internal service data exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the attacker can supply or influence a URL that SiYuan's http_request or web_fetch agent tools will process - for example, via a shared note, plugin configuration, or attacker-controlled content rendered by the application; (2) the attacker controls a DNS server for a domain they own and can manipulate DNS record TTLs to execute the rebinding timing race; (3) the SiYuan instance has network reachability to the target private or metadata IP, making cloud-hosted deployments with access to 169.254.169.254 the highest-risk scenario. The CVSS 4.0 UI:P metric confirms that passive user interaction - SiYuan processing attacker-influenced content - is required, preventing fully automated exploitation. Deployments where SiYuan runs on isolated networks without cloud metadata access or internal network reachability face materially reduced risk even on unpatched versions. |
| Impact | The CVSS 4.0 score of 8.4 is well-supported by the subsequent-system confidentiality impact (SC:H), which reflects the realistic threat of cloud credential theft via metadata service access - a severe outcome for any cloud-hosted SiYuan deployment. The network attack vector and no-privileges-required metrics lower the barrier considerably, while the passive user interaction requirement (UI:P) means the attacker must induce SiYuan to process attacker-controlled content rather than exploiting it fully autonomously. The provided vector assigns AC:L, but DNS rebinding realistically requires controlling DNS infrastructure and managing TTL timing windows, which adds non-trivial operational complexity not captured by that metric; defenders should weigh this when prioritizing. No EPSS score, CISA KEV listing, or public POC is present in the provided intelligence, so active or widespread exploitation is unconfirmed - but the attack surface (cloud-deployed note-taking applications processing external URLs) is a realistic opportunistic target, particularly where IMDSv1 is still enabled. |
| Exploit ScenarioDerived | An attacker registers a domain under their control with a DNS server they operate, sets a very short TTL, and crafts a SiYuan note or plugin payload referencing a URL on that domain - delivered, for example, via a shared notebook or template. When SiYuan processes the URL, the guard-time DNS resolution returns a legitimate public IP that passes the blocklist check; the attacker immediately flips the DNS record to 169.254.169.254 before SiYuan opens the TCP connection. SiYuan connects to the AWS instance metadata endpoint and returns IAM role credentials or identity documents to the attacker. No public proof-of-concept is identified at time of analysis, though DNS rebinding frameworks such as Singularity are publicly available and significantly reduce the technical barrier. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
SiYuan before v3.8.1 exposes a DNS rebinding SSRF vulnerability in its http_request and web_fetch agent tools, allowing network-accessible attackers who can influence processed URLs to bypass the built-in SSRF IP-blocklist defense and reach cloud instance metadata services or internal network hosts. The guard-time-only DNS resolution creates a TOCTOU race: the SSRF check sees a legitimate public IP, but the actual TCP connection lands on 169.254.169.254 or another private address. No public exploit code or CISA KEV listing exists at time of analysis; however, the CVSS 4.0 score of 8.4 reflects high downstream confidentiality risk for cloud-hosted deployments where metadata credentials are accessible.
RemediationAI
Upgrade SiYuan to v3.8.1 or later to obtain the vendor-released patch per the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x8gv-g2g3-65fj. If immediate upgrade is not feasible, implement host-level or perimeter egress firewall rules blocking connections from the SiYuan process to cloud metadata IP ranges (169.254.169.254/32, 100.100.100.200/32) and RFC 1918 space; this directly prevents the primary metadata theft scenario but leaves the underlying SSRF flaw unpatched and may not cover all internal targets. Disabling the http_request and web_fetch agent tools entirely via SiYuan configuration is the most targeted compensating control if outbound fetch capability is not operationally required, with no functional side effects beyond removing those tools. For AWS-hosted deployments, enforcing IMDSv2 (requiring a session token in metadata requests) reduces the impact of a successful rebind by blocking unauthenticated metadata reads - this is a defense-in-depth measure, not a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is an open-source personal knowledge management system (cpe:2.3:a:siyuan-note:siyuan) whose plugin and agent architecture exposes http_request and web_fetch tools that make outbound HTTP requests on behalf of notes or plugins. The SSRF defense in these tools performs DNS resolution at guard time to verify the resolved IP is not in RFC 1918 or cloud metadata ranges, but critically does not re-validate the resolved IP at TCP connect time - the canonical CWE-918 TOCTOU pattern. An attacker controlling a DNS server can serve a benign public IP during the guard check, then immediately flip the DNS record (via a manipulated short TTL) to a private or cloud metadata IP such as 169.254.169.254 (AWS IMDSv1) or 100.100.100.200 (Alibaba Cloud IMDS) before SiYuan establishes the connection. The rebinding attack defeats IP-range blocklist mitigations entirely without requiring any privileged access to the SiYuan instance itself.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
DNS rebinding requires attacker-controlled DNS infrastructure and TTL timing precision, warranting AC:H; UI:R because SiYuan must process attacker-supplied content; S:C reflects access to out-of-scope metadata and internal systems.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
SiYuan versions before 3.8.1 expose cloud-connected organizations to credential theft through a DNS rebinding vulnerability that bypasses built-in network protections. Attackers can access sensitive cloud credentials and internal systems without authentication. No vendor patch is currently available, requiring immediate interim controls to prevent compromise of cloud infrastructure credentials.
No vendor-released patch identified at time of analysis. Deploy interim mitigations: (1) Network-level egress controls blocking 169.254.169.254 and private IP ranges from SiYuan; (2) Disable http_request and web_fetch agent tools if operationally feasible; (3) Cloud IAM policies restricting metadata service access and limiting credentials available to SiYuan; (4) DNS and egress monitoring to detect rebinding or SSRF patterns; (5) Network isolation of SiYuan instances with restricted outbound connectivity; (6) Alert on any http_request or web_fetch tool invocations targeting private IP addresses.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
EUVD-2026-67686
GHSA-g42r-m263-958h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB