CVE-2026-72796

SiYuan before v3.7.4 Access Control Bypass via Static Routes

Published Aug 12, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
SiYuan before v3.7.4 contains an access control bypass vulnerability where static-file routes in the server mux bypass publish-access controls enforced on the REST API. Attackers with publish reader tokens or anonymous access in disabled-auth mode can read templates, snippets, and export artifacts by directly accessing static routes that lack the same restrictions as their REST API counterparts.

Analysis

AI-generated

Technical impact

SiYuan versions prior to 3.7.4 allow attackers with publish reader tokens or anonymous access in disabled-auth mode to read templates, snippets, and export artifacts by directly accessing static routes that do not honor the same publish‑access restrictions applied to the REST API. This results in unauthorized data disclosure because sensitive content can be accessed without proper authentication or authorization checks.

Affected Systems

The vulnerability affects the SiYuan note‑taking application produced by siyuan-note. Versions earlier than 3.7.4 contain the flaw; the static routing logic bypasses the publish‑access controls in place for REST endpoints.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. The EPSS score is not available, so the precise exploitation likelihood cannot be quantified, but since the flaw is reachable by anyone with publish‑reader privileges or in anonymous mode, it poses a tangible risk. The vulnerability is not listed in CISA's KEV catalog. Attackers can exploit the bypass by sending requests to the vulnerable static‑route URLs, avoiding the authentication checks that normally protect the REST API.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.4 or newer to apply the server‑mux access‑control fix.
  • If an upgrade is not immediately possible, disable public publishing or enforce authentication so that anonymous or publish‑reader access cannot reach the static routes.
  • Review any custom static routes or embedded resources and ensure they are protected by proper authorization checks.

Generated by OpenCVE AI on August 12, 2026 at 23:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fgmr-7w36-9qfq SiYuan: Static-file routes bypass the publish-access controls enforced on the REST API, exposing templates, snippets and export artifacts to anonymous readers
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
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description SiYuan before v3.7.4 contains an access control bypass vulnerability where static-file routes in the server mux bypass publish-access controls enforced on the REST API. Attackers with publish reader tokens or anonymous access in disabled-auth mode can read templates, snippets, and export artifacts by directly accessing static routes that lack the same restrictions as their REST API counterparts.
Title SiYuan before v3.7.4 Access Control Bypass via Static Routes
Weaknesses CWE-862
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:52 PM
Reserved
Aug 10, 2026, 3:11 PM
Status
Deferred
Published
Aug 12, 2026, 8:17 PM
Modified
Oct 24, 2026, 3:10 PM