CVE-2026-74801

SiYuan before 3.7.4 Local Privilege Escalation via elevator.exe

Published Aug 17, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in SiYuan versions earlier than 3.7.4, where the application does not escape workspace directory paths when building command-line arguments for the elevated elevator.exe helper. An attacker can create a workspace folder whose name includes command metacharacters, causing the helper to execute those commands with administrator privileges after a User‑Account‑Control prompt. This results in arbitrary code execution on the local machine with elevated rights.

Affected Systems

Siyuan Note’s SiYuan desktop application versions prior to 3.7.4. The vulnerability applies to all installations that use the default elevator.exe helper and Microsoft Defender exclusion flow in Windows environments.

Risk and Exploitability

With a CVSS score of 8.6 the vulnerability is considered high severity. The EPSS score is not available, but the lack of a near‑term public exploit and absence from the KEV catalog suggest a lower, though still significant, exploitation probability. Since the flaw is triggered by a local attacker creating a specially crafted directory, it requires local access and acceptance of the UAC prompt. Once the prompt is accepted, the attacker regains system‑level command execution through the vulnerable helper. The attack path hinges on the interaction between the escaped path, Microsoft Defender’s exclusion mechanism, and the elevation process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update SiYuan to version 3.7.4 or later to remove the path‑escaping bug.
  • If an upgrade cannot be deployed immediately, disable or tightly configure Microsoft Defender’s automatic exclusion flow for workspace directories, ensuring that no unknown executables are run without explicit user approval.
  • Enforce a naming policy on workspace folders that excludes command metacharacters—disallow characters such as ';', '&', '`', '|', and educate users to avoid creating directories with such characters, thereby preventing the injection vector.

Generated by OpenCVE AI on August 17, 2026 at 12:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title SiYuan before 3.7.4 Local Privilege Escalation via elevator.exe
First Time appeared B3log
B3log siyuan
Weaknesses CWE-78
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': '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'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 17, 2026, 3:16 PM
Reserved
Aug 16, 2026, 12:59 PM
Status
Deferred
Published
Aug 17, 2026, 11:16 AM
Modified
Aug 26, 2026, 5:04 PM