CVE-2026-85578

SiYuan through 3.8.1 Authorization Bypass via getFile

Published Sep 4, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
SiYuan through 3.8.1 contains an authorization bypass vulnerability in the /api/file/getFile endpoint that allows readers to retrieve files from notebooks explicitly configured as Visible:false. Attackers with reader role can access private workspace files including notebook metadata and internal configuration by knowing the hidden notebook identifier and file path.

Analysis

AI-generated

Technical impact

SiYuan through version 3.8.1 contains an authorization bypass flaw in the /api/file/getFile endpoint that allows users with the reader role to retrieve files from notebooks explicitly configured as Visible:false. This weakness enables a reader to read private workspace files, including notebook metadata and internal configuration, simply by knowing the hidden notebook identifier and file path. The vulnerability is a classic example of Missing Authorization (CWE-862), exposing sensitive data and potentially internal configuration to an unauthorized party.

Affected Systems

The affected product is Siyuan, a note-taking application. All releases up to and including 3.8.1 are impacted; this includes any installation or environment running those versions.

Risk and Exploitability

The CVSS v3.1 score of 7.1 indicates a high severity level. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must first have an account with the reader role and then send a crafted HTTP request to /api/file/getFile, providing the hidden notebook identifier and file path. Once the request is authenticated, the server returns the requested file, bypassing the visibility restriction. The lack of additional prerequisites means the flaw can be exploited in any environment where reader role users are present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a released version that contains the fix (any version newer than 3.8.1).
  • If an update cannot be applied immediately, configure the application so that reader‑role users cannot access the /api/file/getFile endpoint or enforce that notebooks marked Visible:false are not exposed to readers.
  • Review access logs for unexpected file retrieval attempts and revoke or downgrade reader‑role permissions as appropriate.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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 through 3.8.1 contains an authorization bypass vulnerability in the /api/file/getFile endpoint that allows readers to retrieve files from notebooks explicitly configured as Visible:false. Attackers with reader role can access private workspace files including notebook metadata and internal configuration by knowing the hidden notebook identifier and file path.
Title SiYuan through 3.8.1 Authorization Bypass via getFile
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': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:51 PM
Reserved
Sep 4, 2026, 10:56 AM
Status
Deferred
Published
Sep 4, 2026, 12:17 PM
Modified
Oct 8, 2026, 4:17 PM