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.
Published: 2026-08-17
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Fri, 21 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Mon, 17 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 17 Aug 2026 11:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T15:16:34.015Z

Reserved: 2026-08-16T12:59:42.223Z

Link: CVE-2026-74801

cve-icon Vulnrichment

Updated: 2026-08-17T15:16:30.292Z

cve-icon NVD

Status : Deferred

Published: 2026-08-17T11:16:40.323

Modified: 2026-08-26T17:04:50.287

Link: CVE-2026-74801

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T21:19:54Z

Weaknesses
  • CWE-78

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