Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25539: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan

0
Critical
VulnerabilityCVE-2026-25539cvecve-2026-25539cwe-22
Published: Wed Feb 04 2026 (02/04/2026, 21:39:12 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

CVE-2026-25539 is a critical path traversal vulnerability in the SiYuan personal knowledge management system versions prior to 3. 5. 5. The flaw exists in the /api/file/copyFile endpoint, where the dest parameter is not properly validated, allowing authenticated users to write files to arbitrary filesystem locations. Exploitation can lead to remote code execution by overwriting sensitive files such as cron jobs, SSH authorized_keys, or shell configuration files. The vulnerability requires authentication but no user interaction and has a CVSS score of 9. 1, reflecting its high impact on confidentiality, integrity, and availability. Although no known exploits are reported in the wild, the issue is severe and has been patched in version 3. 5. 5.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/12/2026, 07:30:00 UTC

Technical Analysis

CVE-2026-25539 is a path traversal vulnerability categorized under CWE-22, affecting the SiYuan personal knowledge management system before version 3.5.5. The vulnerability arises from insufficient validation of the 'dest' parameter in the /api/file/copyFile API endpoint. Authenticated users can exploit this flaw to write files to arbitrary locations on the server's filesystem. This can be leveraged to achieve remote code execution (RCE) by placing malicious payloads in critical system files such as cron job definitions, SSH authorized_keys, or shell configuration files, which are executed or read by the system with elevated privileges. The vulnerability is remotely exploitable over the network without user interaction but requires valid user credentials, indicating a high privilege requirement. The CVSS v3.1 score of 9.1 reflects the vulnerability's critical nature, with network attack vector, low attack complexity, high privileges required, no user interaction, and a scope change that impacts confidentiality, integrity, and availability. Although no active exploits have been reported, the potential for severe impact makes this a significant threat. The issue was addressed in SiYuan version 3.5.5 by implementing proper validation and sanitization of the 'dest' parameter to restrict file operations within authorized directories.

Potential Impact

For European organizations, exploitation of this vulnerability could lead to complete system compromise, data breaches, and disruption of services. Attackers could gain persistent remote code execution capabilities, enabling them to deploy malware, exfiltrate sensitive data, or disrupt operations. This is particularly concerning for organizations that use SiYuan for managing confidential knowledge or intellectual property. The ability to overwrite critical system files could also facilitate lateral movement within networks, increasing the risk of widespread compromise. Given the high severity and the potential for privilege escalation, the impact extends beyond individual systems to organizational security posture and regulatory compliance, especially under GDPR where data protection is paramount. The requirement for authentication limits exposure but does not eliminate risk, as insider threats or compromised credentials could be leveraged. The absence of known exploits in the wild suggests a window for proactive mitigation before widespread attacks occur.

Mitigation Recommendations

European organizations should immediately upgrade all SiYuan installations to version 3.5.5 or later to apply the official patch. Until upgrades can be completed, restrict access to the /api/file/copyFile endpoint through network segmentation and firewall rules, limiting it to trusted users only. Implement strict authentication and authorization controls, including multi-factor authentication (MFA), to reduce the risk of credential compromise. Conduct thorough audits of user privileges to ensure only necessary users have access to SiYuan’s file operations. Monitor logs for unusual file write activities or attempts to access sensitive filesystem locations. Employ application-layer firewalls or runtime application self-protection (RASP) solutions to detect and block path traversal attempts. Additionally, review and harden system configurations to minimize the impact of potential file overwrites, such as restricting cron job and SSH authorized_keys file permissions. Regularly back up critical configuration files and maintain an incident response plan tailored to potential RCE scenarios.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-02T19:59:47.374Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6983c169f9fa50a62faf7af9

Added to database: 2/4/2026, 10:00:09 PM

Last enriched: 2/12/2026, 7:30:00 AM

Last updated: 3/24/2026, 1:17:56 AM

Views: 106

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses