Skip to main content

SiYuan EUVDEUVD-2026-68235

| CVE-2026-82649 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-08-30 VulnCheck GHSA-jrgp-6vq3-j6hp
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access
  2. Delivery
    Plant malicious TASKKILL.exe in writable directory
  3. Exploit
    Admin runs installer from that directory
  4. Execution
    NSIS preInit hook invokes TASKKILL by name
  5. Persist
    Search path resolves to planted binary first
  6. Impact
    Planted binary executes with elevated token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the attacker has local low-privilege access to the target Windows system; (2) the attacker can write a file named after a system utility (e.g., TASKKILL.exe) into a directory on disk; and (3) an administrator runs the SiYuan NSIS installer from that same directory selecting all-users (elevated) installation mode. UAC elevation is granted at installer launch before the preInit hook executes, meaning the planted binary receives the elevated token without any additional UAC prompt. The vulnerability is limited to the installation-time window - it does not affect the installed SiYuan application at runtime. Key limiting factors: the attack requires local presence (physical or remote shell), the attacker must control or predict the directory from which the admin will run the installer, and exploitation only occurs during the installation event itself. Network-only attackers cannot exploit this directly.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:P, score 7.0) accurately reflects the attack profile: local access, low privilege, no special attack conditions, but requiring an administrator to run the installer. No CISA KEV listing and no public POC exist at time of analysis, keeping operational urgency moderate. The impact metrics are full (VC:H/VI:H/VA:H) because execution with an elevated token grants complete control over the vulnerable system. Real-world risk is meaningful in shared workstation environments, developer machines, or any scenario where untrusted users can write to directories from which privileged users run software. Enterprises where SiYuan is deployed via shared network paths or where installers are downloaded to shared locations face higher exposure. For organizations where local users are fully isolated, risk is low. EPSS score was not provided in the input data and cannot be assessed.

Exploit ScenarioDerived

A low-privileged local attacker writes a malicious executable named TASKKILL.exe into a directory they share write access to with an administrator - such as a shared downloads folder, a network share, or a writable temp location - then waits for or socially engineers an administrator to download and run the SiYuan installer from that same directory with the all-users option selected. The NSIS preInit hook fires immediately upon launch with the elevated UAC token, resolves TASKKILL to the planted binary ahead of System32, and executes it with administrator-level privileges before the user sees any install UI. No public exploit code has been identified at time of analysis, but the technique is a well-understood variant of Windows binary planting.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

Local privilege escalation in SiYuan's Windows NSIS installer affects versions 2.0.14 through 3.8.0, allowing a local attacker with write access to a directory to execute arbitrary code with elevated privileges by planting a malicious binary that the NSIS installer resolves ahead of System32 during an all-users installation. The root cause is electron-builder's preInit hook invoking system utilities such as TASKKILL by short name via nsExec::Exec, causing the installer's launch directory to take search-path precedence over System32 before the license page is even displayed. No public exploit code has been identified at time of analysis, though the binary-planting technique is well-documented in Windows installer security research.

RemediationAI

Upgrade the SiYuan Windows installer to version 3.8.1 or later, per the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9j65-967f-5rv3. Download the installer directly from the official SiYuan GitHub releases page to ensure integrity. Note that the patch commit linked (https://github.com/siyuan-note/siyuan/commit/251596fc0de2f9528c00c224252fd073a99973f4) reflects a version bump to 3.8.0 rather than 3.8.1, and does not visibly modify the NSIS installer script - the specific fix should be confirmed against the official 3.8.1 release artifact. As a compensating control where immediate upgrade is not possible, require that the SiYuan installer be run only from a directory with restrictive ACLs that prevent write access by non-admin accounts (e.g., a freshly extracted copy in the administrator's own profile directory). Never run the installer from shared network paths, shared temp folders, or any directory writable by standard users. Trade-off: this control relies on administrator behavior and does not eliminate the underlying path-resolution flaw.

Affected VersionsENISA

SiYuan 2.0.14 <3.8.1

Affected Packages

euvd siyuan fix: 3.8.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability (CWE-427, Uncontrolled Search Path Element) resides in the NSIS (Nullsoft Scriptable Install System) installer generated by electron-builder for SiYuan, an Electron-based personal knowledge management application. NSIS's nsExec::Exec function resolves executable names against the Windows PATH in order, and electron-builder inserts the installer's own launch directory at a position that precedes System32. The preInit hook - which fires before the license agreement UI appears - calls TASKKILL and potentially other system utilities by bare name. Any attacker-controlled directory from which the installer is launched becomes a vector for binary planting. CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* covers all affected Windows installer artifacts in the 2.0.14 through 3.8.0 range. The issue is a class-level weakness in how electron-builder constructs NSIS installer scripts, so other electron-builder applications may carry analogous risk.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.0 HIGH
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
vuln.today AI 7.3 HIGH

Local installer binary planting requires low-privilege write access and admin UI interaction; full system impact but no scope change beyond the vulnerable host.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-427, uncontrolled search path element, in SiYuan's NSIS Windows installer script.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche open-source note-taking app, limited enterprise deployment
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy