CVE-2026-85579
Received Received - Intake

SiYuan Information Disclosure via Undo State Endpoint

Vulnerability report for CVE-2026-85579, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-04

Last updated on: 2026-09-04

Assigner: VulnCheck

Description

SiYuan is affected by an information disclosure vulnerability (confirmed in v3.8.1, fixed in v3.8.2) in the reader-accessible POST /api/transactions/undoState endpoint. The endpoint returns the peekMutatedRootIDs list from the global undo-log stack for a caller-supplied root ID without applying publish-access visibility filtering. An authenticated reader who knows the root ID of a visible document can obtain the internal root IDs of other documents (including private or unpublished ones) modified in the same cross-document transaction, disclosing internal identifiers and cross-document relationships. Document body contents are not directly exposed.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-04
Last Modified
2026-09-04
Generated
2026-09-05
AI Q&A
2026-09-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
siyuan siyuan to 3.8.2 (exc)
siyuan siyuan From 3.8.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-85579 is an information disclosure vulnerability in SiYuan note-taking application affecting version 3.8.1. The issue occurs in the POST /api/transactions/undoState endpoint, which returns internal document root IDs from the undo-log stack without proper visibility filtering. An authenticated reader can exploit this by providing a known root ID of a visible document to retrieve root IDs of other documents modified in the same transaction, including private or unpublished ones. This exposes internal identifiers and cross-document relationships but does not directly disclose document content.

Detection Guidance

To detect this vulnerability, check if your SiYuan instance is running version 3.8.1 or earlier. Verify if the POST /api/transactions/undoState endpoint is accessible and returns additional root IDs beyond expected transaction data. Use network monitoring tools to inspect API responses for unexpected data leaks.

Impact Analysis

This vulnerability allows an attacker with reader privileges to access internal document identifiers and relationships between documents. While document content is not directly exposed, the attacker can learn which documents are linked through transactions, potentially revealing sensitive organizational structures or private document interactions. The impact is limited to information disclosure rather than data modification or deletion.

Compliance Impact

This vulnerability may impact compliance with privacy regulations like GDPR and HIPAA by potentially exposing internal document relationships and identifiers without authorization. While document content is not directly disclosed, the exposure of document metadata and cross-document interactions could violate principles of data minimization and access control, depending on organizational policies and regulatory requirements.

Mitigation Strategies

Immediately upgrade SiYuan to version 3.8.2 or later to patch the vulnerability. If upgrading is not possible, restrict access to the /api/transactions/undoState endpoint or implement visibility filtering to prevent unauthorized access to internal document IDs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-85579. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart