CVE-2026-33669

SiYuan has Arbitrary Document Reading within the Publishing Service

Published Mar 26, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.2% KEV · Not listed
Description
SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the /api/file/readDir interface, and then the /api/block/getChildBlocks interface was used to view the content of all documents. Version 3.6.2 patches the issue.

Analysis

AI-generated

Technical impact

SiYuan, a personal knowledge‑management application, contains an API flaw that lets unauthenticated callers read the contents of any document stored in the system. The vulnerability is caused by the combination of the /api/file/readDir endpoint, which returns document identifiers, and the /api/block/getChildBlocks endpoint, which returns the content for those identifiers without imposing proper access checks. The weakness is an instance of improper bounds checking and is classified as CWE‑125. The exposure allows an attacker to extract confidential information from any user’s documents, compromising confidentiality for all stored data.

Affected Systems

The flaw affects installations of the SiYuan note‑taking application produced by the vendor siyuan-note. Versions released prior to 3.6.2 are vulnerable because they use the unprotected API chain described above. Users running any SiYuan instance older than 3.6.2 need to verify their version and upgrade if necessary.

Risk and Exploitability

The CVSS score of 9.8 marks this vulnerability as critical, indicating a full compromise of confidentiality. The EPSS score of 2% suggests that exploitation is not widespread at present, and the flaw is not listed in CISA’s Known Exploited Vulnerabilities catalog. The likely attack vector is remote: an unauthenticated attacker can invoke the exposed publishing service APIs over the network to enumerate and read all documents. No special privileges or authentication are required to exploit the flaw, so the risk is significant for organizations that use SiYuan to store sensitive knowledge.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.6.2 or later.
  • Restrict or disable the publishing service’s exposed API endpoints so that only authorized users can access /api/file/readDir and /api/block/getChildBlocks.
  • Monitor API activity for unauthorized requests and apply network segmentation or firewall rules to limit exposure of the publishing service to untrusted networks.

Generated by OpenCVE AI on November 26, 2026 at 18:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-34xj-66v3-6j83 SiYuan has Arbitrary Document Reading within the Publishing Service
History
Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Description SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the /api/file/readDir interface, and then the /api/block/getChildBlocks interface was used to view the content of all documents. Version 3.6.2 patches the issue.
Title SiYuan has Arbitrary Document Reading within the Publishing Service
Weaknesses CWE-125
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 27, 2026, 8:26 PM
Reserved
Mar 23, 2026, 4:34 PM
Status
Analyzed
Published
Mar 26, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:37 AM