# CVE-2026-82649: SiYuan before 3.8.1 Local Privilege Escalation via Uncontrolled Search Path

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-30T14:33:31.723Z
- Modified: 2026-09-01T15:17:35.960Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- siyuan-note siyuan: from 2.0.14 before 3.8.1 (not affected: 3.8.1)

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9j65-967f-5rv3> (exploit, vendor-advisory)
- <https://github.com/siyuan-note/siyuan/commit/251596fc0de2f9528c00c224252fd073a99973f4> (patch)
- <https://www.vulncheck.com/advisories/siyuan-before-3.8.1-local-privilege-escalation-via-uncontrolled-search-path> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-82649](https://www.cve.org/CVERecord?id=CVE-2026-82649), CVE Terms of Use, modified 2026-09-01
- NVD: [CVE-2026-82649](https://nvd.nist.gov/vuln/detail/CVE-2026-82649), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-82649 · Whole record: https://cve.day/CVE-2026-82649.json · Rebuilt by cve.day 2026-11-25T22:59:35.769Z
