Original 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.
Affected software
- SiYuan ≥ 2.0.14 < 3.8.1 Fixed in: 3.8.1 repository or package match
Details
- Published
- 2026-08-30
- Last modified
- 2026-09-01
- CVSS 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- CWE
- CWE-427
- EPSS (30-day exploit probability)
- 0.17% (percentile 7)
References
- cve.org/CVE-2026-82649
- nvd.nist.gov/vuln/detail/CVE-2026-82649
- github.com/siyuan-note/siyuan/security/advisories/GHSA-9j65-967f-5rv3
- github.com/siyuan-note/siyuan/commit/251596fc0de2f9528c00c224252fd073a99973f4
- www.vulncheck.com/advisories/siyuan-before-3.8.1-local-privilege-escalation-via-uncontroll...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.