Description
SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous publish-mode readers to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the workspace.
Published: 2026-08-18
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan before version 3.7.4 lacks authorization checks on 17 block-related API endpoints in kernel/api/block.go, such as getRefText, checkBlockExist, and getBlockBreadcrumb. The handlers are protected only by basic authentication, meaning that any user with publish-mode access can call these endpoints. An attacker can query arbitrary block IDs and retrieve private text content, structural metadata, and existence information. This leads to information disclosure of potentially sensitive workspace data, reflected in the CWE-862 identifier for missing authorization.

Affected Systems

Affected vendors include siyuan-note, with product Siyuan Note. The vulnerability applies to all releases of Siyuan prior to 3.7.4. No other version information is available. The CPE indicates b3log:siyuan.

Risk and Exploitability

The CVSS score is 8.7, indicating high severity. EPSS is not available, but the lack of authentication controls makes exploitation straightforward for anyone who can contact the published API endpoints, typically over HTTP(S). The vulnerability does not appear in the CISA KEV catalog. Attackers would do so by sending legitimate API requests to the block endpoints without valid credentials, gaining access to private data due to the permissions model.

Generated by OpenCVE AI on August 18, 2026 at 12:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Siyuan 3.7.4 or later, which corrects the missing authorization on block API endpoints.
  • If a quick upgrade is not possible, restrict access to the affected API endpoints using firewall or reverse proxy rules so that only authenticated and authorized users can reach them.
  • Disable or configure the publish mode feature to require authentication before allowing read access, preventing anonymous publish-mode readers from retrieving private block information.
  • Configure role‑based access control to ensure that all block API calls are protected and that only users with appropriate permissions can read workspace data.

Generated by OpenCVE AI on August 18, 2026 at 12:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Description SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous publish-mode readers to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the workspace.
Title SiYuan before v3.7.4 Missing Authorization via block API
First Time appeared B3log
B3log siyuan
Weaknesses CWE-862
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T11:19:36.090Z

Reserved: 2026-08-17T10:48:45.738Z

Link: CVE-2026-74904

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T12:19:30.643

Modified: 2026-08-18T12:19:30.643

Link: CVE-2026-74904

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T12:30:04Z

Weaknesses