CVE-2026-137467 in SiYuaninfo

Summary

by MITRE • 11/26/2026

SiYuan before 3.8.11 uses DejaVu sync code that accepts a non-hexadecimal 40-byte remote index ID from WebDAV responses and joins it into the repository indexes path unchecked, allowing path traversal. An on-path attacker altering plaintext HTTP WebDAV sync responses can overwrite a workspace data file, such as a .sy note, with compressed index data.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified in SiYuan versions prior to 3.8.11 represents a critical failure in input validation and path construction logic within the application's synchronization module. Specifically, the DejaVu sync mechanism is designed to manage local repository indexes by interacting with remote storage services via WebDAV protocols. The core technical flaw lies in how the application processes the index ID received from these remote responses. Instead of strictly validating that the incoming identifier consists solely of hexadecimal characters and adheres to expected length constraints for safe path components, the software accepts a non-hexadecimal 40-byte string as a valid remote index ID. This lack of rigorous sanitization allows an attacker who can manipulate network traffic or control the WebDAV server response to inject arbitrary file system paths into the application's internal logic.

When SiYuan receives this malformed index ID, it proceeds to join the value directly into the repository indexes path without performing necessary checks for directory traversal sequences such as dot-dot-slash patterns. This unchecked concatenation results in a classic Path Traversal vulnerability, categorized under CWE-22: Improper Limitation of a Pathname to a Restricted Directory. By crafting a specific WebDAV response containing maliciously formatted index data, an on-path attacker can redirect the file write operations away from the intended secure directory structure. The application then attempts to save or update workspace files using this manipulated path, effectively bypassing the sandboxed environment where user notes and documents are typically stored safely.

The operational impact of this vulnerability is severe due to its potential for arbitrary file overwrite. An attacker exploiting this flaw can force SiYuan to write compressed index data over critical workspace files, such as .sy note files which contain the actual content of user-created documents. This action leads directly to Data Corruption and Loss of Integrity, aligning with CWE-354: Improper Validation of Integrity Check Value if integrity checks were present but bypassed by the overwrite, or more accurately CWE-770: Allocation of Resources Without Limits or Throttling in terms of resource consumption during the write operation. The immediate consequence is that legitimate user data can be destroyed or replaced with garbage data, rendering notes unreadable and potentially causing application instability if critical configuration files are targeted.

From a threat modeling perspective, this vulnerability facilitates an attack vector consistent with ATT&CK technique T1490: Inhibit System Recovery, as overwriting local backup indices or workspace structures could hinder the user's ability to restore previous states of their data. Furthermore, because the exploit requires an on-path position, it is primarily relevant in scenarios where network traffic between the client and WebDAV server can be intercepted or modified, such as through Man-in-the-Middle attacks on unencrypted HTTP connections. While HTTPS mitigates the interception aspect, if a user configures their sync to use insecure plaintext HTTP endpoints, this vulnerability becomes readily exploitable by any actor with access to that network segment.

Mitigation strategies must focus primarily on upgrading to SiYuan version 3.8.11 or later, where the developers have presumably implemented strict validation for index IDs and sanitized path construction logic. For environments unable to upgrade immediately, administrators should enforce the use of HTTPS for all WebDAV synchronization endpoints to prevent on-path attackers from altering response payloads. Additionally, implementing network segmentation to isolate sync traffic from general internet access can reduce the attack surface. It is also advisable to maintain regular off-site backups of workspace data that are not dependent solely on the local index structure, ensuring that even if a file overwrite occurs, recovery remains possible without relying on potentially corrupted local metadata.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00752

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!