Skip to main content

SiYuan CVE-2026-100637

| EUVDEUVD-2026-87731 HIGH
External Control of File Name or Path (CWE-73)
2026-09-26 VulnCheck GHSA-4fq5-2r2r-5cw9
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as SiYuan administrator
  2. Exploit
    Send checkoutRepo request with traversal sessionID
  3. Execution
    Escape workspace path boundary
  4. Impact
    Overwrite arbitrary kernel-writable JSON file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Requires an authenticated administrator account on the SiYuan instance (CVSS PR:H) and a reachable checkoutRepo endpoint. The attacker must supply a sessionID parameter containing directory-traversal sequences (../). Exploitation is limited to overwriting JSON files that reside in directories the SiYuan kernel already has write access to and that already exist - it cannot create files in arbitrary locations or write non-JSON content, and it grants no read/confidentiality access. The dominant limiting factor is the administrator privilege requirement, which restricts this to insider/rogue-admin abuse or post-credential-compromise activity rather than opportunistic remote attack.

Impact

This is a moderate, not top-tier, priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) is network-reachable and low-complexity, but the PR:H metric is the key limiter: exploitation requires an already-authenticated ADMINISTRATOR of the SiYuan instance, sharply narrowing the realistic threat to a rogue admin or an attacker who has already compromised admin credentials/session. Impact is integrity-focused (VI:H/SI:H) with only minor availability (VA:L) and zero confidentiality (VC:N) - the flaw writes/overwrites JSON files, it does not read data. There is no EPSS score, no CISA KEV listing, and no public exploit code provided, so there is no public exploit identified at time of analysis and no evidence of active or automatable exploitation. The vendor's 8.3 (High) score is on the generous side given the admin prerequisite and write-only-JSON constraint; the practical risk is closer to medium. No signals conflict, but the absence of EPSS/POC data means exploitation likelihood is inferred from the vector alone.

Exploit ScenarioDerived

An authenticated SiYuan administrator (or an attacker who has hijacked an admin session) sends a request to the checkoutRepo endpoint with a sessionID parameter containing directory-traversal sequences (e.g. ../../). The kernel then writes attacker-controlled JSON content outside the intended workspace, overwriting an existing JSON file in another kernel-writable directory - potentially tampering with configuration or state files. No public proof-of-concept is available at time of analysis.

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

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

Alert me

AnalysisAIv1 – Sep 26, 2026

Path traversal in the checkoutRepo endpoint of SiYuan (siyuan-note:siyuan) before v3.8.4 lets an authenticated administrator supply a sessionID parameter containing ../ sequences and overwrite JSON files in pre-existing directories that the SiYuan kernel can already write to, including locations outside the workspace. Integrity impact is high (CVSS 4.0 base 8.3; assessed CVSS 3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L) but there is no confidentiality impact, no ability to create new files or write non-JSON content, and the PR:H requirement confines realistic abuse to a rogue or compromised administrator rather than an opportunistic remote attacker. No public exploit identified at time of analysis, and the issue is assessed as a moderate, not top-tier, priority.

RemediationAI

Vendor-released patch: upgrade to SiYuan v3.8.4 or later, which is the first release outside the affected range; apply it to both server-side instances and any mirrored/self-hosted deployments, and treat the upgrade as the primary fix since the vulnerable code path is in the kernel API itself. Where an immediate upgrade is not possible, reduce exposure by keeping the SiYuan kernel API bound to localhost or behind an authenticating reverse proxy instead of exposing it on an untrusted interface (trade-off: remote/mobile sync and external integrations that rely on the API will stop working), by removing administrator tokens from any account that does not strictly need them and rotating credentials for accounts that do, and by running the kernel as a low-privilege OS user or in a container with a minimal writable mount set so that traversal writes are confined to a disposable volume (trade-off: containerizing or restricting the filesystem can break workspace checkouts, plugin installs, and sync features that expect a broader writable path). Monitor logs and filesystem audit trails for unexpected .json writes or checkoutRepo requests carrying ../ in the sessionID parameter as a detection safeguard. Reference the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jhmh-hr4g-c5g2 and the VulnCheck write-up at https://www.vulncheck.com/advisories/siyuan-before-3.8.4-path-traversal-via-checkoutrepo-sessionid for confirmation of the fix and details.

Affected VersionsENISA

SiYuan 0 <3.8.4

Affected Packages

euvd siyuan fix: 3.8.4

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 flaw is an instance of CWE-73 (External Control of File Name or Path): the checkoutRepo API handler in the SiYuan kernel builds a filesystem path from the client-supplied sessionID value without adequately canonicalizing it or constraining the result to the workspace root. Because the parameter is treated as a path fragment rather than an opaque identifier, traversal sequences let the resolved path escape the intended session/JSON storage location and land in any directory the kernel process already has write permission to. SiYuan is a local-first knowledge-management application whose Go kernel exposes an HTTP API (used by its desktop UI and sync features), so the vulnerable endpoint is reachable over the network wherever that kernel API is exposed. The CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* matches the product across platforms for all builds below the fixed release. Note that the vendor CVSS 4.0 vector records subsequent-system integrity impact (SC:N/SI:H/SA:L), while the independent assessment scores it under CVSS 3.1 with S:U, treating the effect as confined to the SiYuan instance; the practical consequence is targeted tampering with JSON configuration/state files rather than code execution or data disclosure.

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 8.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L
vuln.today AI 5.5 MEDIUM

Network endpoint with low complexity but requires administrator authentication (PR:H); write-only JSON overwrite gives high integrity impact (I:H), minor availability (A:L), and no confidentiality (C:N).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Sep 26, 2026 - 14:02 EUVD
CVE Published
Sep 26, 2026 - 13:23 cve.org
HIGH 8.3

DescriptionCVE.org

SiYuan versions before v3.8.4 contain a path traversal vulnerability in the checkoutRepo endpoint that allows authenticated administrators to write JSON files outside the workspace. Attackers can supply a sessionID parameter containing directory traversal sequences to overwrite arbitrary JSON files in pre-existing kernel-writable directories outside workspace boundaries.

Technical POC Analysis

Bug class: path traversal, CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), per the GHSA.

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

Executive ViewAI

Why It Matters

SiYuan, a knowledge management platform, contains a high-severity vulnerability (CVE-2026-100637) that allows an authenticated administrator to overwrite JSON files outside the workspace, compromising data integrity. Although no public exploit identified at time of analysis, organizations using SiYuan should promptly apply the vendor-released patch (v3.8.4) to prevent a rogue or compromised administrator from tampering with critical configuration or data files. Leadership should prioritize remediation to maintain trust in the platform's integrity and avoid potential operational disruptions.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
popular open-source note-taking app (~30k stars), mostly individual/self-hosted use
Data Quality
5 sources
Confidence: Medium

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.5%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Siyuan

View all
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-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

CVE-2026-29183 CRITICAL POC
9.3 Mar 06

Reflected XSS in SiYuan knowledge management before 3.5.9.

CVE-2026-25539 CRITICAL POC
9.1 Feb 04

SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope

CVE-2024-2692 CRITICAL POC
9.0 Apr 04

SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera

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