Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPrompt-inject MCP agent with skill URL
-
DeliveryUser approves LocalWrite install
-
ExploitServer fetchBytes downloads attacker URL
-
Execution302 redirect / DNS rebind to loopback
-
ImpactRead internal service or metadata response
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 | Requires that the target run SiYuan's MCP/agent integration and that the |
| Impact | This is a medium-severity SSRF (vendor CVSS 4.0 base 5.3; CWE-918) whose signals point to a real-but-bounded issue rather than an urgent emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:L/VI:L/VA:N, SC:L/SI:L) indicates a network-reachable, low-complexity flaw with low confidentiality/integrity impact on both the vulnerable and a subsequent system, and - critically - it requires user interaction. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a prioritize-but-not-drop-everything posture. No KEV listing and no EPSS score are present in the input, so there is no signal of active or widespread exploitation; exploitation status is best described as no confirmed active exploitation, with reproduction test code published in the GHSA advisory. The main caveat is the interaction gate: the source-code evidence states the MCP |
| Exploit ScenarioDerived | An attacker plants a malicious instruction (prompt injection) that causes SiYuan's MCP agent to invoke the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Server-side request forgery in SiYuan's MCP skill-install download path allows an attacker-supplied skill URL that answers with a 302 redirect - or rebinds via DNS at connect time - to reach loopback, internal, and link-local metadata endpoints on instances running 3.8.9 or earlier. The request path is reachable by remote attackers without credentials (CVSS 4.0 base 5.3, CWE-918), but it requires the target to be running SiYuan's MCP/agent integration and a user to confirm the LocalWrite install action, which is why the advisory scores UI:R/UI:P; impact is bounded to low-severity disclosure and forgery against reachable internal HTTP services, not code execution. A public PoC reference exists in the form of Go reproduction tests attached to the advisory that demonstrate the redirect-to-loopback case; it is not verified as working exploit code against a default deployment, there is no CISA KEV listing, and the vendor has released a fix in 3.8.10.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.8.10, the version in which the skill-install download path is fixed; the advisory recommends routing fetchBytes through ssrfSafeClient (or an equivalent DialContext hook that pins the validated IP at dial time) and re-validating each redirect hop, for example via a CheckRedirect that re-applies CheckHostSSRF to every Location. Because the fix is available and the SSRF is bounded to low-severity read/forgery with a user-confirmation prerequisite, the vendor's priority is a normal monthly patch cycle rather than emergency action; see https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6pg3-pqxw-jm82 and https://www.vulncheck.com/advisories/siyuan-before-3.8.10-ssrf-via-skill-install-download-redirect-and-dns-rebinding. Where upgrading must wait, disable the MCP/agent integration if it is not in use (it is the only documented entry point, but it removes agent functionality), keep the skill install action behind explicit confirmation with no pre-approved setting so an injected URL cannot be installed silently (this leaves the residual risk of a user clicking through), and restrict egress from the SiYuan process so it cannot reach loopback, private, and 169.254.169.254/link-local ranges (trade-off: SiYuan deployments that legitimately proxy to internal sync or resource servers would need explicit allow-listing). Only install skills from URLs the operator controls until the upgrade is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is a Go-based personal knowledge management application; this is a classic CWE-918 SSRF caused by asymmetric use of two HTTP clients in the same process. A prior advisory, GHSA-x8gv-g2g3-65fj, hardened the agent paths (web_fetch, http_request) by pinning the validated IP at dial time via ssrfSafeClient (httprequest.go:336, webfetch.go:68), so a second DNS resolution at connect time cannot substitute a private address. The skill-install path was never moved onto that client: fetchBytes performs only a parse-time CheckHostSSRF on the first hostname (skill.go:681) and then downloads through httpclient.NewBrowserRequest() (skill.go:706), a plain client that re-resolves the name when it connects and follows redirects without re-validating the target. The advisory's own measurements in the same process show ssrfSafeClient rejecting http://127.0.0.1 as a prohibited private address while the browser client returns 200 from the internal service, and a 302 to http://127.0.0.1:<target>/latest/meta-data/ returning internal metadata. The entry point is the MCP tool skill with action=install, url=<attacker> (mcp/tools/skill.go:275 → InstallSkill → downloadSkillSource → fetchBytes); install is declared LocalWrite, so a confirmation or pre-approved setting must be satisfied first, which is the 'prompt injection plus one click' path reflected in the advisory's UI-required rating. The trigger is a redirect hop or a DNS rebind rather than any memory-safety condition.
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:L/VI:L/VA:N/SC:L/SI:L/SA:N
Network-reachable SSRF with low complexity and no attacker-held privileges, but a required install-confirmation click (UI:R); reaching internal services beyond the app is a scope change (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
SiYuan before 3.8.10 contains a server-side request forgery vulnerability in the skill-install download path because fetchBytes performs only a parse-time hostname check instead of using ssrfSafeClient. Attackers can supply a skill URL via the MCP skill install action that redirects or DNS-rebinds to loopback addresses, reaching internal services and metadata endpoints.
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's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
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
EUVD-2026-125172
GHSA-6h86-3g39-r63x
NVD
CVE.org
EPSS
Exploit-DB