Skip to main content

SiYuan CVE-2026-126393

| EUVDEUVD-2026-125172 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-13 VulnCheck GHSA-6h86-3g39-r63x
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Prompt-inject MCP agent with skill URL
  2. Delivery
    User approves LocalWrite install
  3. Exploit
    Server fetchBytes downloads attacker URL
  4. Execution
    302 redirect / DNS rebind to loopback
  5. Impact
    Read 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 skill tool's action=install be invoked with an attacker-supplied url (code path mcp/tools/skill.go:275 → InstallSkill → downloadSkillSource → fetchBytes). Because fetchBytes performs only a parse-time CheckHostSSRF on the first hostname and then downloads via httpclient.NewBrowserRequest() (not ssrfSafeClient), the attacker URL only needs to answer with a 302 redirect to an internal address, or DNS-rebind at connect time, to reach loopback/internal services and metadata endpoints. LIMITING FACTORS: install is declared LocalWrite, so it requires an explicit user confirmation or a pre-approved setting (the 'prompt injection plus one click' path, matching the advisory's UI-required rating); impact is limited to low-severity disclosure/forgery (VC:L/VI:L) against reachable internal HTTP services, not full code execution, and the instance must be running a vulnerable build (<=v3.8.9).

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 skill install action is declared LocalWrite, requiring a confirmation/one-click approval, so realistic exploitation is 'prompt injection into the agent plus one click' rather than a drive-by remote SSRF - this limits blast radius and is the key reason the raw network vector overstates real-world ease. Note a minor signal tension: AV:N/PR:N reads as 'remote unauthenticated' yet the actual path requires the victim to be running SiYuan's MCP/agent integration and to approve an install, a deployment-mode prerequisite the base vector does not capture.

Exploit ScenarioDerived

An attacker plants a malicious instruction (prompt injection) that causes SiYuan's MCP agent to invoke the skill tool with action=install and an attacker-controlled URL; after the victim approves the LocalWrite install, the server-side download follows a 302 redirect (or DNS rebinding) to a loopback or cloud-metadata address and returns internal content such as http://127.0.0.1/latest/meta-data/. The advisory includes reproduction test files (zz_ssrf_asym_test.go, zz_redirect_test.go), so a public PoC reference exists; it is not verified as a weaponized working exploit. Per the CVSS vector exploitation is network-reachable with low attack complexity but requires user interaction (the install confirmation).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SiYuan 0 <3.8.10

Affected Packages

euvd siyuan fix: 3.8.10

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
self-hosted open-source personal note-taking app, niche footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy