CVE-2026-34449
CWE-942Published: March 31, 2026· Updated: Apr 3, 2026
Official Description
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.
Risk Analysis
This critical vulnerability in SiYuan before version 3.6.2 allows a malicious website to achieve Remote Code Execution (RCE) on desktop clients. This is due to a permissive CORS policy that enables JavaScript injection via the API, leading to full OS access. With a CVSS score of 9.6, this flaw poses a significant risk to the confidentiality, integrity, and availability of the system.
No public exploit is currently known for this vulnerability. It is remotely exploitable, requiring only that a user visits a malicious website while SiYuan is running.
To mitigate this vulnerability, users should upgrade SiYuan to version 3.6.2 or later. Restrict network access to SiYuan's API and ensure web browsers are configured with strict CORS policies.
Technical Analysis
CVE-2026-34449 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.6.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-942)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-34449 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts