Description
SiYuan is a personal knowledge management system. Prior to 3.5.5, the /api/file/getFile endpoint uses case-sensitive string equality checks to block access to sensitive files. On case-insensitive file systems such as Windows, attackers can bypass restrictions using mixed-case paths and read protected configuration files. This vulnerability is fixed in 3.5.5.
Published: 2026-02-10
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized File Disclosure
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in Siyuan's /api/file/getFile endpoint allows attackers to read protected configuration files by using mixed-case paths on case-insensitive file systems. The flaw arises from case-sensitive string equality checks that are ineffective on such systems. If exploited, an attacker can obtain sensitive data stored in configuration files, potentially compromising the system's confidentiality and integrity.

Affected Systems

The affected product is Siyuan, a personal knowledge management system developed by siyuan-note. Versions prior to 3.5.5 contain the flaw. All installations on Windows or other case-insensitive file systems are at risk.

Risk and Exploitability

With a CVSS score of 7.5, the vulnerability carries a high severity. The EPSS score is less than 1%, indicating a low current exploitation probability. It is not listed in the CISA KEV catalog. Attackers can exploit the API by sending requests with mixed-case filenames on a case-insensitive file system to bypass the intended restrictions. This requires the ability to send HTTP requests to the target application, potentially through network exposure or local component interaction.

Generated by OpenCVE AI on April 17, 2026 at 20:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Siyuan to version 3.5.5 or later, which contains the fix for the file read bypass.
  • If an upgrade is not immediately possible, restrict access to the /api/file/getFile endpoint to authenticated users only so that only authorized clients can request files.
  • Move or delete sensitive configuration files from directories exposed through the API, and enforce strict file permissions to prevent unauthorized reading.

Generated by OpenCVE AI on April 17, 2026 at 20:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-f72r-2h5j-7639 SiYuan File Read API Case Sensitivity Bypass can Lead to Path Traversal
History

Mon, 23 Feb 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan

Thu, 12 Feb 2026 11:30:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Tue, 10 Feb 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 10 Feb 2026 18:15:00 +0000

Type Values Removed Values Added
Description SiYuan is a personal knowledge management system. Prior to 3.5.5, the /api/file/getFile endpoint uses case-sensitive string equality checks to block access to sensitive files. On case-insensitive file systems such as Windows, attackers can bypass restrictions using mixed-case paths and read protected configuration files. This vulnerability is fixed in 3.5.5.
Title SiYuan has a File Read Interface Case Bypass Vulnerability
Weaknesses CWE-22
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-10T19:17:41.722Z

Reserved: 2026-02-09T17:41:55.858Z

Link: CVE-2026-25992

cve-icon Vulnrichment

Updated: 2026-02-10T19:16:22.911Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-10T18:16:38.807

Modified: 2026-02-23T17:58:09.347

Link: CVE-2026-25992

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T20:45:25Z

Weaknesses