Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain on-path position on plaintext HTTP WebDAV sync
-
DeliveryTamper refs/latest with 40-byte traversal ID
-
ExploitDejaVu joins ID into indexes path unchecked
-
ExecutionPath escapes RepoPath/indexes into sibling data tree
-
ImpactOverwrite workspace .sy note with zstd index
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires ALL of: (1) SiYuan configured to sync via a plaintext HTTP WebDAV endpoint (http://, not https://) - the attack depends on responses being alterable in transit; (2) an attacker holding an on-path/man-in-the-middle position able to replace the 'refs/latest' and referenced index responses (no WebDAV credentials or sync-storage write access needed); (3) the scheduled/committed download-merge sync executing. Impact is strictly limited: it overwrites one selected sibling data file (e.g. a .sy note) with compressed index bytes - not attacker-chosen content - and the advisory demonstrates no write outside the workspace, no file read, no code execution, and no whole-workspace loss. TLS (https WebDAV) deployments and the demonstration gap (the scheduled job itself was not executed end-to-end) further limit realistic exploitation. |
| Impact | Signals conflict sharply and must be weighed carefully. The input CVSS 4.0 vector scores 8.7 (High) with VC:H (confidentiality), but the vulnerability mechanism is an unchecked path join that OVERWRITES a single sibling .sy note with compressed index data - an integrity effect, not a confidentiality one. The vendor's own GHSA advisory models this as CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N = 3.7 (Low), reaching 7.7 (High) only in a conditional environmental scenario where the workspace is the organization's sole authoritative high-integrity record store. Exploitation is gated on an on-path (MITM) attacker tampering with PLAINTEXT HTTP WebDAV sync responses, which is a meaningful barrier (AC:H / AT:P), not default remote-unauthenticated access as PR:N/AC:L alone would imply. The vuln.today decision label is 'this_week' (not act_now/emergency); it is not in CISA KEV and no EPSS score was provided. A PoC harness is published inside the GHSA advisory, but it demonstrates the DejaVu dependency path and the production download caller at a pinned revision - it does not exercise the scheduled sync job end-to-end, and the advisory explicitly states no arbitrary write outside the workspace, no read, no code execution, and no whole-workspace loss. Net: this is a real but bounded, integrity-only, single-note overwrite requiring an attacker-controlled network position and non-TLS sync - a 'patch this week' item rather than a drop-everything emergency, and materially lower real-world risk than the headline 8.7 suggests. |
| Exploit ScenarioDerived | A user has SiYuan configured to sync over plaintext HTTP WebDAV (http://). An on-path attacker (shared Wi-Fi, compromised router, or upstream proxy) intercepts the sync traffic and returns a crafted 40-byte 'refs/latest' index ID containing '../' sequences; during the committed download merge DejaVu joins it into the repository indexes path unchecked, writing the zstd-compressed remote index over a sibling data file such as notebook/document.sy. A proof-of-concept harness demonstrating the dependency path and the production syncRepoDownload caller is published in the GHSA advisory; the attack needs no WebDAV credentials or storage write access, only the ability to alter responses in transit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Path traversal in SiYuan's DejaVu-backed WebDAV sync lets an on-path attacker who can rewrite plaintext HTTP sync responses overwrite a single workspace data file - for example a .sy note - with zstd-compressed repository index bytes. Affected are SiYuan builds before 3.8.11 configured to sync against an http:// (not https://) WebDAV endpoint; no WebDAV credentials or sync-storage write access are required, only the ability to substitute the refs/latest and referenced index responses in transit while a download-merge sync runs. Impact is narrow: the overwritten content is index data rather than attacker-chosen text, and no write outside the workspace, file read, code execution, or workspace-wide loss is demonstrated; the assessed CVSS 3.1 base score is 3.7 (Low, AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N), rising to a conditional 7.7 only where the note is an organization's sole authoritative high-integrity record. A public proof-of-concept harness accompanies the advisory and reproduces the overwrite at the pinned DejaVu library revision and through SiYuan's syncRepoDownload caller, though the scheduled job was not executed end-to-end, and there is no CISA KEV listing or confirmed in-the-wild exploitation.
RemediationAI
Vendor-released patch: SiYuan 3.8.11 (DejaVu v3.8.11), which rejects remote index IDs that are not exactly 40 hexadecimal characters and adds a containment check so that absolute paths, parent traversal, and any normalized path resolving outside RepoPath/indexes are refused before directories are created or bytes written; upgrade to 3.8.11 or later and, per the advisory, add a SyncDownload regression test using the sibling DataPath/RepoPath layout with the documented traversal ID and its hexadecimal control. If upgrading cannot be done immediately, the exposure is gated on plaintext transport: switch the WebDAV sync endpoint from http:// to an https:// URL so that an on-path attacker can no longer substitute the refs/latest and index responses (trade-off: requires a TLS-capable WebDAV server and certificate trust on the SiYuan host), and, where HTTPS is not available, stop automatic scheduled sync over the plaintext endpoint and run syncs manually only from networks where the path to the WebDAV server is trusted (trade-off: no background synchronization and greater risk of unreviewed merge conflicts). Note that because the overwritten file is a workspace note, keeping off-workspace backups or version history of notes remains the practical way to recover a clobbered .sy file after a successful attack.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan accepts http:// WebDAV endpoints, constructs a cloud.NewWebDAV provider, and hands its repository to the DejaVu sync library; the scheduled sync job (kernel/job/cron.go) periodically calls syncRepoDownload, which invokes the public Repo.SyncDownload API at kernel/model/repository.go. SiYuan's storage layout sets DataPath to WorkspaceDir/data and RepoPath to WorkspaceDir/repo, so note files and repository indexes sit in sibling directory trees. In the pinned DejaVu version, downloadCloudLatest0 trims the remote refs/latest body, checks only that it is 40 bytes long, and does not require hexadecimal characters; Store.PutIndex then rejects only an empty ID and writes a zstd-compressed JSON index to the path built by Store.IndexAbsPath as filepath.Join(store.Path, "indexes", id) with no check that the normalized result stays under indexes. This is the CWE-22 root cause: an unvalidated remote identifier is joined into a filesystem path, so a 40-byte traversal string such as ..//../././././data/notebook/document.sy resolves from WorkspaceDir/repo/indexes to the sibling note WorkspaceDir/data/notebook/document.sy, while a hexadecimal control ID correctly lands under repo/indexes. The flaw is exercised only when a download merge commits, requires responses to be alterable in transit (plaintext HTTP), and per the advisory writes compressed index bytes rather than attacker-controlled content, which is why the modeled impact is integrity-only and limited.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
On-path MITM over plaintext HTTP WebDAV makes AC:H; no credentials needed so PR:N; impact is a single-note overwrite (I:L) with no confidentiality or availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in SiYuan (a note-taking and knowledge management application) affects versions before 3.8.11 when configured to sync over unencrypted HTTP WebDAV. An on-path attacker could overwrite a single workspace file, potentially corrupting a critical note, but only if the organization uses HTTP (not HTTPS) and relies on the note as a sole authoritative record. Leadership should care because this could disrupt access to important information and undermine data integrity for teams using SiYuan in this insecure configuration.
No vendor-released patch identified at time of analysis. Interim mitigations: switch all WebDAV sync endpoints from HTTP to HTTPS, disable WebDAV sync for affected versions, or use a VPN for sync traffic; upgrade to SiYuan 3.8.11 or later when available. Additionally, ensure critical notes are backed up and not solely stored in SiYuan without redundancy.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-136607
NVD
CVE.org
EPSS
GitHub
Exploit-DB