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.
Published: 2026-09-04
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch Now
AI Analysis

Impact

SiYuan suffers an information disclosure flaw in the undoState API. The endpoint exposes the peekMutatedRootIDs list from the undo‑log for a supplied root identifier, without enforcing publish‑access filters. An authenticated reader who can supply a visible document’s rootID can learn the internal root IDs of other documents that were updated in the same transaction, revealing internal identifiers and cross‑document relationships. The breach does not reveal document body contents, but discloses structural metadata that could aid further attacks. The weakness corresponds to CWE-639, selective disclosure.

Affected Systems

The vulnerability affects the Siyuan note‑taking application from the vendor Siyuan‑Note, version 3.8.1 and earlier, with the fix introduced in v3.8.2. The affected component is the reader‑accessible POST /api/transactions/undoState endpoint in the Siyuan web API.

Risk and Exploitability

The CVSS base score is 5.3, indicating a medium severity. The EPSS score is not available, so the current exploitation likelihood is unknown but the vulnerability is publicly disclosed, giving potential adversaries enough time. It is not listed in the CISA KEV catalog. An attacker who has read permissions and can guess or obtain a valid root ID can hit the vulnerable endpoint to pull other documents’ internal identifiers. The attack requires authentication; the attacker would need to be a legitimate reader who knows a visible document’s root ID. If cross‑document transactions are common, the attack surface expands accordingly.

Generated by OpenCVE AI on September 4, 2026 at 12:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to v3.8.2 or later, where the issue is fixed.
  • Restrict the undoState API so that only administrators or the document owner can invoke it, eliminating inadvertent disclosure to regular readers.
  • Ensure that all users have up‑to‑date roles and permissions, and audit user access to the undo log or transaction APIs regularly.

Generated by OpenCVE AI on September 4, 2026 at 12:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 08 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Fri, 04 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title SiYuan before v3.8.2 Information Disclosure via undoState
First Time appeared B3log
B3log siyuan
Weaknesses CWE-639
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-08T14:42:45.033Z

Reserved: 2026-09-04T10:56:22.464Z

Link: CVE-2026-85579

cve-icon Vulnrichment

Updated: 2026-09-08T14:42:36.562Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T12:17:19.780

Modified: 2026-09-08T20:05:53.177

Link: CVE-2026-85579

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T14:15:07Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key