CVE Catalog

CVE-2026-59832

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

24th percentile - higher than 24% of all known CVEs

Summary

A vulnerability in SiYuan before version 3.7.1 allows reading files outside the snippets directory. The serveSnippets function improperly handles path traversal sequences like %2e%2e (..), enabling an authenticated attacker to read workspace secrets and the document database.

Risk Assessment

The risk involves potential theft of sensitive data, including passwords, API keys, and the entire document database, leading to confidentiality and integrity breaches.

Recommendation

Immediately upgrade SiYuan to version 3.7.1 or later. If upgrading is not possible, restrict API access to trusted networks and users only.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath containment or sensitive-path checks, allowing an authenticated request such as /snippets/%2e%2e/%2e%2e/conf/conf.json to read workspace secrets and the document database. This issue is fixed in versions 3.7.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS