CVE-2026-25992: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
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.
AI Analysis
Technical Summary
CVE-2026-25992 is a path traversal vulnerability classified under CWE-22 that affects the SiYuan personal knowledge management system prior to version 3.5.5. The vulnerability exists in the /api/file/getFile endpoint, which attempts to prevent unauthorized file access by performing case-sensitive string equality checks on requested file paths. However, on case-insensitive file systems, notably Windows, this check can be bypassed by using mixed-case variations of the file path, allowing attackers to access files outside the intended restricted directories. This flaw enables unauthorized reading of sensitive configuration files without requiring authentication or user interaction, thereby compromising confidentiality. The vulnerability does not affect integrity or availability directly. The CVSS v3.1 base score is 7.5, reflecting network attack vector, low attack complexity, no privileges required, and no user interaction needed. Although no known exploits are reported in the wild, the vulnerability poses a significant risk due to its ease of exploitation and potential data exposure. The issue is resolved in SiYuan version 3.5.5 by correcting the pathname validation logic to properly handle case insensitivity on affected file systems.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized disclosure of sensitive configuration files, which may contain credentials, API keys, or other confidential information. This exposure can facilitate further attacks such as privilege escalation, lateral movement, or data breaches. Organizations using SiYuan on Windows-based environments are particularly vulnerable due to the case-insensitive file system behavior. The impact is heightened for sectors handling sensitive data, including finance, healthcare, and government entities. Confidentiality breaches can damage organizational reputation, lead to regulatory penalties under GDPR, and cause operational disruptions if attackers leverage exposed information. Although the vulnerability does not directly affect system integrity or availability, the indirect consequences of data exposure can be severe. The lack of required authentication and user interaction increases the risk of automated exploitation attempts.
Mitigation Recommendations
The primary mitigation is to upgrade all SiYuan deployments to version 3.5.5 or later, where the vulnerability is fixed. Organizations should audit their current SiYuan versions and prioritize patching Windows-based systems. Until patching is complete, restrict access to the /api/file/getFile endpoint by implementing network-level controls such as IP whitelisting or VPN-only access. Employ web application firewalls (WAFs) to detect and block path traversal attempts, particularly those using mixed-case path variations. Conduct regular security assessments and code reviews for custom integrations with SiYuan to ensure no similar validation issues exist. Additionally, monitor logs for unusual file access patterns indicative of exploitation attempts. Educate developers and administrators about the risks of case sensitivity differences across file systems to prevent similar vulnerabilities in the future.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain
CVE-2026-25992: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
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.
AI-Powered Analysis
Technical Analysis
CVE-2026-25992 is a path traversal vulnerability classified under CWE-22 that affects the SiYuan personal knowledge management system prior to version 3.5.5. The vulnerability exists in the /api/file/getFile endpoint, which attempts to prevent unauthorized file access by performing case-sensitive string equality checks on requested file paths. However, on case-insensitive file systems, notably Windows, this check can be bypassed by using mixed-case variations of the file path, allowing attackers to access files outside the intended restricted directories. This flaw enables unauthorized reading of sensitive configuration files without requiring authentication or user interaction, thereby compromising confidentiality. The vulnerability does not affect integrity or availability directly. The CVSS v3.1 base score is 7.5, reflecting network attack vector, low attack complexity, no privileges required, and no user interaction needed. Although no known exploits are reported in the wild, the vulnerability poses a significant risk due to its ease of exploitation and potential data exposure. The issue is resolved in SiYuan version 3.5.5 by correcting the pathname validation logic to properly handle case insensitivity on affected file systems.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized disclosure of sensitive configuration files, which may contain credentials, API keys, or other confidential information. This exposure can facilitate further attacks such as privilege escalation, lateral movement, or data breaches. Organizations using SiYuan on Windows-based environments are particularly vulnerable due to the case-insensitive file system behavior. The impact is heightened for sectors handling sensitive data, including finance, healthcare, and government entities. Confidentiality breaches can damage organizational reputation, lead to regulatory penalties under GDPR, and cause operational disruptions if attackers leverage exposed information. Although the vulnerability does not directly affect system integrity or availability, the indirect consequences of data exposure can be severe. The lack of required authentication and user interaction increases the risk of automated exploitation attempts.
Mitigation Recommendations
The primary mitigation is to upgrade all SiYuan deployments to version 3.5.5 or later, where the vulnerability is fixed. Organizations should audit their current SiYuan versions and prioritize patching Windows-based systems. Until patching is complete, restrict access to the /api/file/getFile endpoint by implementing network-level controls such as IP whitelisting or VPN-only access. Employ web application firewalls (WAFs) to detect and block path traversal attempts, particularly those using mixed-case path variations. Conduct regular security assessments and code reviews for custom integrations with SiYuan to ensure no similar validation issues exist. Additionally, monitor logs for unusual file access patterns indicative of exploitation attempts. Educate developers and administrators about the risks of case sensitivity differences across file systems to prevent similar vulnerabilities in the future.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-09T17:41:55.858Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 698b76074b57a58fa120a6d7
Added to database: 2/10/2026, 6:16:39 PM
Last enriched: 2/10/2026, 6:30:48 PM
Last updated: 2/20/2026, 9:58:17 PM
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-2858: Out-of-Bounds Read in wren-lang wren
MediumCVE-2026-27120: CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in vapor leaf-kit
MediumCVE-2026-27118: CWE-346: Origin Validation Error in sveltejs kit
MediumCVE-2026-27112: CWE-863: Incorrect Authorization in akuity kargo
CriticalCVE-2026-27111: CWE-862: Missing Authorization in akuity kargo
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.