Description
SiYuan Windows installer before version 3.8.1 (affected versions >= 2.0.14) contains an uncontrolled search path element vulnerability in its NSIS installer, which invokes system executables such as TASKKILL by name rather than by absolute path. Because NSIS nsExec::Exec resolves these calls using a search path that includes the installer's own launch directory ahead of System32, an attacker who plants a malicious executable (e.g., a renamed TASKKILL.exe) in that directory can have it executed when the installer runs. These calls occur in electron-builder's preInit hook before the license page is displayed, and with an all-users (elevated) install the planted binary executes with an elevated token, resulting in local privilege escalation.
Published: 2026-08-30
Score: 7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan Windows installers before version 3.8.1 contain an uncontrolled search path issue in the NSIS installer. During the pre‑initialization stage the installer executes privileged system utilities such as TASKKILL by name, and NSIS resolves the target executable by searching the installer's launch directory before System32. If a malicious file with the same name is placed in that directory, it will be launched with elevated privileges when the installer runs for all‑users. This flaw allows a local attacker to obtain elevated privileges on the machine, classified as a CWE‑427 vulnerability and scored with a CVSS of 7, which represents a moderate‑to‑high severity local privilege escalation.

Affected Systems

The affected product is the SiYuan note‑taking application from the vendor siyuan‑note, released under the product name Siyuan. All Windows installer packages from version 2.0.14 through, but excluding, version 3.8.1 are vulnerable. Users of these releases who run the installer from directories that an attacker can write to are exposed to this risk.

Risk and Exploitability

The exploitation requires only that the installer be run in a location that contains a malicious executable renamed to match a system utility, and that the installer be executed with elevated privileges. Because the attacker does not need remote access, the risk is primarily local. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, but the CVSS score of 7 indicates a potentially serious compromise. The risk is higher in environments where software is installed from untrusted or shared directories. Based on the description, it is inferred that the attacker must be able to place the file in the installation directory, so networks or remote attacks are not required.

Generated by OpenCVE AI on August 30, 2026 at 15:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to version 3.8.1 or later, which fixes the search path vulnerability by using absolute paths.
  • If an upgrade is not immediately possible, run the installer from a temporary folder that contains only the installer executable and no other files; remove any files that have names of system utilities such as TASKKILL.exe before launching.
  • After installation, perform a system integrity check or antivirus scan to detect any unintended executables that may have been launched.

Generated by OpenCVE AI on August 30, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 30 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description SiYuan Windows installer before version 3.8.1 (affected versions >= 2.0.14) contains an uncontrolled search path element vulnerability in its NSIS installer, which invokes system executables such as TASKKILL by name rather than by absolute path. Because NSIS nsExec::Exec resolves these calls using a search path that includes the installer's own launch directory ahead of System32, an attacker who plants a malicious executable (e.g., a renamed TASKKILL.exe) in that directory can have it executed when the installer runs. These calls occur in electron-builder's preInit hook before the license page is displayed, and with an all-users (elevated) install the planted binary executes with an elevated token, resulting in local privilege escalation.
Title SiYuan before 3.8.1 Local Privilege Escalation via Uncontrolled Search Path
First Time appeared B3log
B3log siyuan
Weaknesses CWE-427
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-30T14:33:31.723Z

Reserved: 2026-08-30T13:38:00.101Z

Link: CVE-2026-82649

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-30T15:16:45.470

Modified: 2026-08-30T15:16:45.470

Link: CVE-2026-82649

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-30T16:00:14Z

Weaknesses
  • CWE-427

    Uncontrolled Search Path Element