Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2026-33670 β€” AI Deep Analysis Summary

CVSS 9.8 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Path Traversal in SiYuan < 3.6.2. πŸ“‚ The `/api/file/readDir` endpoint fails to sanitize input.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: **CWE-22** (Improper Limitation of a Pathname to a Restricted Directory). πŸ› The application does not properly validate or normalize user-supplied paths in the directory reading API.

Q3Who is affected? (Versions/Components)

πŸ‘₯ **Affected**: **SiYuan Note** (Personal Knowledge Management System). πŸ“… **Versions**: All versions **prior to 3.6.2**. 🏒 **Vendor**: siyuan-note.

Q4What can hackers do? (Privileges/Data)

πŸ•΅οΈ **Attacker Actions**: Enumerate file structures. πŸ“„ Access sensitive document filenames. πŸ”“ **Impact**: High Confidentiality, Integrity, and Availability loss (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Q5Is exploitation threshold high? (Auth/Config)

⚑ **Threshold**: **LOW**. 🌐 **Network**: Remote (AV:N). πŸ”‘ **Auth**: None required (PR:N). πŸ–±οΈ **UI**: None required (UI:N). 🎯 **Complexity**: Low (AC:L). Easy to exploit.

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ“¦ **Public Exploit**: No specific PoC code provided in the data. πŸ“ **Reference**: GitHub Security Advisory (GHSA-xmw9-6r43-x9ww) confirms the vulnerability exists. ⚠️ Likely exploitable via simple HTTP requests.

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: Scan for SiYuan instances. πŸ§ͺ Test the `/api/file/readDir` endpoint with path traversal payloads (e.g., `../../`). πŸ“‹ Look for unauthorized file name enumeration in responses.

Q8Is it fixed officially? (Patch/Mitigation)

πŸ› οΈ **Fix**: Upgrade to **SiYuan version 3.6.2** or later. πŸ“₯ Check the official GitHub repository for the patch. πŸ”„ Ensure all instances are updated.

Q9What if no patch? (Workaround)

🚧 **Workaround**: If patching is delayed, restrict network access to the `/api/file/readDir` endpoint. 🚫 Implement WAF rules to block path traversal characters (`../`). πŸ”’ Limit API exposure.

Q10Is it urgent? (Priority Suggestion)

πŸ”₯ **Urgency**: **HIGH**. 🚨 CVSS Score indicates Critical impact. πŸƒβ€β™‚οΈ Immediate patching recommended due to low exploitation barrier and high data risk. πŸ“’ Notify users to update ASAP.