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

Goal: 1000 CNY ยท Raised: 1336 CNY

100%

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.