Skip to main content

SiYuan CVE-2026-74801

| EUVDEUVD-2026-60084 HIGH
OS Command Injection (CWE-78)
2026-08-17 VulnCheck GHSA-pmhp-gmf7-7vhj
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege access
  2. Delivery
    Create workspace at metacharacter-injected path
  3. Exploit
    Induce victim to open malicious workspace in SiYuan
  4. Execution
    Victim triggers Defender exclusion flow
  5. Persist
    Victim approves UAC prompt
  6. Impact
    elevator.exe executes injected commands as Administrator

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires four specific conditions: (1) the attacker must have local access as a low-privileged user (PR:L per CVSS vector); (2) the attacker must be able to create or control a SiYuan workspace directory whose filesystem path contains OS command metacharacters; (3) the victim user must explicitly trigger the Microsoft Defender exclusion workflow within the SiYuan application - this is not a passive or automatic action; and (4) the victim must approve the Windows UAC elevation prompt that SiYuan displays before invoking elevator.exe (UI:P per CVSS vector). This vulnerability is Windows-only - the elevator.exe helper and Defender exclusion flow do not exist on macOS or Linux. The UAC approval step is the key limiting factor: exploitation cannot succeed silently without user consent, which reduces risk in environments with standard UAC policies but does not eliminate it in cases where an attacker can social-engineer or wait for the target to organically use the Defender exclusion feature.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) scores 8.6, with subsequent-system impact metrics all at High - indicating potential full system compromise beyond the SiYuan process itself. AV:L and PR:L confirm this is a local, low-privilege attack, not remotely exploitable. UI:P reflects the passive user interaction requirement: the victim must trigger the Defender exclusion flow and approve a UAC prompt. This two-step human interaction is a meaningful friction point that reduces opportunistic exploitation risk compared to zero-interaction vulnerabilities. No EPSS score was provided in the intelligence feed, so statistical exploitation probability is unknown. No CISA KEV listing is present, and no POC code is referenced in the available data, so exploitation remains theoretical at time of analysis. The attack complexity is low once an attacker has pre-positioned a malicious workspace, suggesting this is exploitable without specialized knowledge. Real-world priority is moderate: high impact if exploited, but requires local access, a specific user action, and UAC consent - making mass exploitation unlikely, while targeted insider or supply-chain scenarios remain plausible.

Exploit ScenarioDerived

An attacker with a local low-privileged account creates a SiYuan workspace at a path such as C:\legit\dir & calc.exe & - embedding an arbitrary command in the directory name using shell metacharacters. When the targeted user later navigates the SiYuan interface to add a Microsoft Defender exclusion for that workspace and clicks through the resulting UAC prompt, SiYuan passes the unsanitized path string to elevator.exe, which causes the injected command (in this example, calc.exe, or a more malicious payload) to execute with administrator privileges. No public POC has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 17, 2026

Local privilege escalation in SiYuan before 3.7.4 allows a low-privileged local attacker to execute arbitrary commands with administrator privileges by crafting a workspace directory whose path contains OS command metacharacters. When the victim triggers the Microsoft Defender exclusion workflow within SiYuan and approves the resulting UAC prompt, the application passes the unsanitized path to the elevated elevator.exe helper process, enabling command injection at administrator level. No public exploit code has been identified at time of analysis, but the CVSS 4.0 score of 8.6 reflects the full-system compromise potential once the attack preconditions are met.

RemediationAI

The primary remediation is to upgrade SiYuan to version 3.7.4 or later, which addresses the command injection by properly escaping workspace directory paths before passing them to elevator.exe. The vendor security advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vmp7-pm7g-ghcc and VulnCheck's analysis at https://www.vulncheck.com/advisories/siyuan-before-local-privilege-escalation-via-elevator-exe provide additional context. If immediate upgrade is not feasible, organizations can reduce risk by enforcing a policy that SiYuan workspaces are only created in paths composed of alphanumeric characters without special characters or spaces, removing the injection surface. Additionally, restricting which users can create new SiYuan workspaces via filesystem ACLs limits attacker ability to pre-position a malicious directory. Note that these workarounds do not eliminate the underlying flaw and should be treated as temporary compensating controls only.

Affected VersionsENISA

SiYuan 0 <3.7.4

Affected Packages

euvd siyuan fix: 3.7.4

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 an open-source, self-hosted personal knowledge management application (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-78 (Improper Neutralization of Special Elements used in an OS Command - OS Command Injection). The application ships a Windows-specific privileged helper binary, elevator.exe, used to perform operations requiring administrator rights. When constructing command-line arguments to pass to this helper, SiYuan interpolates the user-controlled workspace directory path without escaping shell metacharacters. The Microsoft Defender exclusion flow is the specific in-application trigger: this feature invokes elevator.exe to add the workspace path to Windows Defender's exclusion list, passing the unescaped path as a command-line argument. A path crafted with metacharacters such as ampersands, pipes, or quoted injection sequences causes the shell to interpret embedded commands alongside the legitimate argument, executing them in the elevated context.

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 8.6 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 8.2 HIGH

Local attack vector and low privilege required; scope changes to administrator via elevator.exe; user interaction required for UAC approval.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Aug 17, 2026 - 12:01 EUVD
CVE Published
Aug 17, 2026 - 11:04 cve.org
HIGH 8.6

DescriptionCVE.org

SiYuan before 3.7.4 fails to properly escape workspace directory paths when constructing command-line arguments for the elevated elevator.exe helper process. Attackers can create a malicious workspace directory with command metacharacters in its path and trigger the Microsoft Defender exclusion flow to execute arbitrary commands with administrator privileges after UAC approval.

Executive ViewAI

Why It Matters

SiYuan versions before 3.7.4 enable local users to escalate to administrator privileges for complete system takeover, with no public exploit identified at time of analysis. This creates significant risk for organizations with SiYuan deployments, particularly where standard users operate the application or insider threats are a concern. Immediate patching to 3.7.4 is required to close this escalation path.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche open-source note-taking app, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Siyuan

View all
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-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

CVE-2026-29183 CRITICAL POC
9.3 Mar 06

Reflected XSS in SiYuan knowledge management before 3.5.9.

CVE-2026-25539 CRITICAL POC
9.1 Feb 04

SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope

CVE-2024-2692 CRITICAL POC
9.0 Apr 04

SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera

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