Skip to main content

SiYuan CVE-2026-85174

| EUVDEUVD-2026-70409 HIGH
Insertion of Sensitive Information into Log File (CWE-532)
2026-09-03 VulnCheck GHSA-gw65-q899-j639
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege SiYuan account
  2. Delivery
    Submit slow full-text search requests
  3. Exploit
    Admin API token written to plaintext log
  4. Execution
    Retrieve log file via getFile endpoint
  5. Persist
    Extract admin API token from log
  6. Impact
    Gain permanent administrative access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

Exploitation requires a valid low-privilege authenticated session on the target SiYuan instance (CVSS PR:L). The attacker must be able to submit full-text search API requests that trigger the application's internal slow-query timing threshold; this condition can be influenced by search query design or induced by server load and does not require a specific non-default configuration setting. The getFile endpoint must be reachable from the attacker's account, which is a default capability for authenticated users. No special deployment mode or feature flag is required - any multi-user SiYuan deployment before v3.8.2 where authenticated users can access both the search and getFile APIs is vulnerable. Exploitation is strictly limited to actors who already possess valid account credentials; unauthenticated network attackers cannot exploit this vulnerability without first compromising an account.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately reflects the threat model: the attack is network-reachable, requires no special configuration, and demands only a low-privilege account. Even a mid-sized municipal IT team in legnica running a shared SiYuan instance should treat this as urgent, given that any team member with a valid account can recover admin credentials and gain permanent administrative control. The primary real-world limiting factor is the PR:L authentication requirement - the attacker must already hold a valid credential - which meaningfully reduces the threat surface compared to a fully unauthenticated flaw. No CISA KEV listing exists, and no public exploit code has been identified at time of analysis, but the attack path is mechanically straightforward once credentials are obtained: trigger a slow search, retrieve the log, extract the token. EPSS data is not available in the provided input; exploitation feasibility is inferred from the CVSS vector and attack description.

Exploit ScenarioDerived

An attacker with a low-privilege SiYuan account crafts or waits for full-text search queries that exceed the application's internal timing threshold, causing the admin API token to be appended in plaintext to the application log file. The attacker then calls the getFile endpoint - accessible to any authenticated user - to download the log, parses it for the token string, and uses the recovered admin token to perform unrestricted administrative operations against the instance. No public exploit code has been identified at time of analysis, but the technique requires no specialized tooling given the straightforward log-retrieval path.

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

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

Alert me

AnalysisAIv1 – Sep 03, 2026

SiYuan's full-text search logging mechanism writes admin API tokens in plaintext to an accessible log file when requests exceed internal timing thresholds, enabling authenticated low-privilege users to escalate to permanent administrative access. All self-hosted SiYuan instances before v3.8.2 are affected; because API tokens are passed as query parameters and the log file is retrievable via the built-in getFile endpoint, the privilege escalation path requires no additional exploitation steps beyond triggering a slow search and reading the file. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog. Vendor-released patch v3.8.2 resolves the issue.

RemediationAI

Upgrade SiYuan to v3.8.2 or later, which addresses the plaintext token logging behavior per the vendor security advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3wvc-5754-gp67. After applying the patch, rotate all existing API tokens immediately, as tokens generated under any pre-v3.8.2 version may already be present in log files on disk. If an immediate upgrade is not possible, restrict access to the getFile endpoint so that only the administrator account can use it, reducing the retrieval path for non-admin users; note this does not stop tokens from being written to disk and is not a sufficient standalone fix. Limiting the SiYuan instance to a single trusted user or placing it behind a network boundary that excludes untrusted accounts reduces the attacker pool but does not eliminate the underlying vulnerability.

Affected VersionsENISA

SiYuan 0 <3.8.2

Affected Packages

euvd siyuan fix: 3.8.2

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

SiYuan (cpe:2.3:a:siyuan-note:siyuan) is a self-hosted, open-source personal knowledge management and note-taking application. The root cause is CWE-532 (Insertion of Sensitive Information into Log File): the application logs full API request details - including query parameters - when full-text search operations exceed an internal timing threshold. API authentication tokens are passed as query parameters rather than headers or request body fields, so when the logging trigger fires, the token is persisted verbatim in plaintext to the application log. The getFile API endpoint, available to any authenticated user, provides a retrieval path for that log file. The combination of token-in-query-parameter design and threshold-triggered verbose logging creates a reliable, low-skill path from authenticated low-privilege access to admin token recovery.

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

Network-accessible attack requires low-privilege authentication; no scope change; admin token recovery enables full confidentiality, integrity, and availability compromise of the SiYuan instance.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 03, 2026 - 13:01 EUVD
CVE Published
Sep 03, 2026 - 11:22 cve.org
HIGH 8.7

DescriptionCVE.org

SiYuan before v3.8.2 logs API tokens from query parameters in plaintext to an accessible log file when full-text search requests exceed timing thresholds. Authenticated attackers can read the log file via the getFile endpoint to recover admin API tokens and gain permanent administrative access.

Technical POC Analysis

CWE-532: Insertion of Sensitive Information into Log File.

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's full-text search logging mechanism exposes administrative API tokens in plaintext log files, allowing authenticated users to escalate to permanent administrative access on all self-hosted instances before version 3.8.2. Organizations running affected SiYuan deployments face complete system compromise, as users with legitimate access can retrieve admin credentials through the built-in file endpoint without requiring additional exploitation. This privilege escalation vulnerability represents a critical control plane risk for any organization storing sensitive data in self-hosted SiYuan instances.

Business Impact: High
Compensating Controls

Apply vendor patch: update all affected SiYuan instances to version 3.8.2 or later.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche self-hosted personal knowledge base tool
Social Media
1
Sightings
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.3%
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
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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