CVE-2026-74904

SiYuan before v3.7.4 Missing Authorization via block API

Published Aug 18, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-4vpg-gwqq-w44c SiYuan: 17 block metadata/content endpoints in kernel/api/block.go have zero publish-access filtering, reachable by anonymous publish-mode readers
History
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 18, 2026, 3:04 PM
Reserved
Aug 17, 2026, 10:48 AM
Status
Deferred
Published
Aug 18, 2026, 12:19 PM
Modified
Oct 22, 2026, 10:10 PM