Skip to main content

Siyuan EUVDEUVD-2026-17676

| CVE-2026-34449 CRITICAL
Permissive Cross-domain Security Policy with Untrusted Domains (CWE-942)
2026-03-31 security-advisories@github.com GHSA-68p4-j234-43mv
9.6
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Victim visits malicious website
  2. Delivery
    Website exploits permissive CORS policy
  3. Exploit
    Inject malicious JavaScript via SiYuan API
  4. Execution
    Execute code in Electron Node.js context
  5. Impact
    Achieve full OS-level remote code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration CORS policy restriction
Exploitation Conditions

SiYuan desktop versions prior to 3.6.2 with permissive CORS policy (Access-Control-Allow-Origin: * and Access-Control-Allow-Private-Network: true) enabled. Attacker delivers malicious website; victim must visit it while SiYuan runs. Injected JavaScript executes in Electron's Node.js context with full OS access on next UI open.

Impact

Real-world risk is high despite requiring user interaction (UI:R). The CVSS 9.6 Critical rating accurately reflects severity: network attack vector (AV:N) with low complexity (AC:L), no authentication required (PR:N), scope change (S:C) indicating escape from browser sandbox to OS context, and complete CIA impact (H/H/H). The attack requires only that a user browse the web while SiYuan is running-a common scenario for knowledge management software used during research activities. No active exploitation confirmed (no KEV status provided), and no public exploit identified at time of analysis, but the technical barrier is low given that exploitation requires only crafting malicious web content and understanding documented API endpoints. The Electron RCE tag indicates this follows known patterns of Electron security failures. SSVC decision framework suggests priority remediation: exploitation is plausible (low technical complexity), automatable (malicious sites can be deployed at scale), and technical impact is total system compromise. The primary mitigating factor is UI:R requirement, but drive-by browsing represents realistic exposure for knowledge workers who are SiYuan's target demographic. Patch availability in version 3.6.2 makes this immediately actionable.

Exploit ScenarioDerived

An attacker hosts a malicious website containing JavaScript that targets SiYuan's localhost API. When a victim running SiYuan (pre-3.6.2) visits this site during normal web browsing, the permissive CORS policy allows the attacker's script to make cross-origin requests to inject a persistent JavaScript payload via the API. The next time the victim opens SiYuan's interface, the injected code executes in Electron's Node.js context with full access to filesystem operations, process spawning, and network capabilities-effectively granting the attacker complete control over the victim's system. The attacker could exfiltrate the user's knowledge base, install persistent malware, or pivot to network resources accessible from the victim's machine, all without further user interaction beyond the initial site visit.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 31, 2026

Remote code execution in SiYuan desktop application (versions prior to 3.6.2) allows unauthenticated remote attackers to execute arbitrary code with full operating system privileges through CORS misconfiguration. A malicious website can inject JavaScript into the Electron-based application's Node.js context via the permissive API (Access-Control-Allow-Origin: * with Access-Control-Allow-Private-Network: true), which executes with OS-level access when the user next opens SiYuan's interface. No public exploit identified at time of analysis, though CVSS 9.6 (Critical) reflects network-accessible attack vector with low complexity requiring only user interaction (visiting malicious site while SiYuan runs). EPSS data not provided, but the combination of Electron framework exploitation, RCE impact, and trivial attack complexity suggests elevated real-world risk for desktop users.

RemediationAI

Upgrade immediately to SiYuan version 3.6.2 or later, released February 2025, which patches the permissive CORS configuration. The vendor-released patch is available at https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 and addresses the API security boundary by restricting cross-origin access. Users should verify the installed version and apply updates through the application's built-in update mechanism or by downloading the patched release directly from the GitHub releases page. No workarounds are documented; upgrading is the only confirmed remediation. After upgrading, review any custom plugins or scripts for similar CORS misconfigurations. Organizations deploying SiYuan should audit endpoint exposure and consider network segmentation to limit localhost API accessibility. Refer to the security advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-68p4-j234-43mv for additional technical details.

Affected VersionsENISA

SiYuan < 3.6.2

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 3.6.2
euvd siyuan fix: 3.6.2

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 Electron-based personal knowledge management system that embeds a local API server. The vulnerability stems from CWE-942 (Overly Permissive Cross-Origin Resource Sharing), where the application's API endpoints expose wildcard CORS headers (Access-Control-Allow-Origin: *) combined with Access-Control-Allow-Private-Network: true. This configuration allows any website origin to make authenticated requests to SiYuan's localhost API. In Electron applications, JavaScript executed within the renderer process can access Node.js APIs if nodeIntegration is enabled or context isolation is improperly configured. The attack chain involves: (1) victim visits attacker-controlled website while SiYuan runs, (2) malicious JavaScript uses permissive CORS to inject payloads via SiYuan's API, (3) injected code persists and executes in Electron's privileged Node.js context on next UI launch, granting full filesystem and process execution capabilities. This represents a critical architectural flaw in Electron security boundaries where web content can bridge into native OS access.

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 (github) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 31, 2026 - 22:16 nvd
CRITICAL 9.6

DescriptionCVE.org

SiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop running SiYuan by exploiting the permissive CORS policy (Access-Control-Allow-Origin: * + Access-Control-Allow-Private-Network: true) to inject a JavaScript snippet via the API. The injected snippet executes in Electron's Node.js context with full OS access the next time the user opens SiYuan's UI. No user interaction is required beyond visiting the malicious website while SiYuan is running. This issue has been patched in version 3.6.2.

Executive ViewAI

Why It Matters

SiYuan desktop application versions prior to 3.6.2 contain a critical remote code execution vulnerability exploitable through CORS misconfiguration, allowing unauthenticated attackers to execute arbitrary code with full OS privileges if a user visits a malicious website while the application is running. This affects all organizations and users deploying SiYuan for note-taking and knowledge management, with potential for complete system compromise and data exfiltration. Immediate action is required as no vendor patch is currently available.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict SiYuan to isolated network segments or air-gapped environments until patched; (2) disable all SiYuan instances in production until vendor releases fix; (3) implement browser isolation or web filtering to prevent users from visiting untrusted sites while SiYuan is active; (4) monitor process execution logs for unexpected child processes spawned from SiYuan; (5) escalate directly with vendor for emergency patching timeline and consider alternative knowledge management solutions if patch timeline is unacceptable.

Threat Intelligence Overview

EPSS Score
0.1%
Top 65% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

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