Patchfirst
CVE-2026-54066 Public exploit High · 7.5 EPSS 2.2%

SiYuan: Path Traversal via Double URL Encoding in /assets/*path (publish mode arbitrary file─read)

Fix:upgrade kernel to 0.0.0-20260628153353-2d5d72223df4 or later Details ↓

siyuan-note · siyuan

Summary

SiYuan (siyuan-note's personal knowledge management product) contains a path traversal flaw in the /assets/*path route, which remains exploitable in publish mode after an earlier fix covered only the /export/ route. An unauthenticated remote attacker reaching the publish-mode HTTP endpoint on the default port can use double URL encoding of ".." segments to read arbitrary files within the workspace directory, including configuration and database files that hold credential hashes and tokens, and this requires no user interaction and no authentication.

Official description · CVE.org

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the patch for CVE-2026-41894 ("Path Traversal via Double URL Encoding") sanitized the /export/ route but the identical root cause remains in the /assets/*path route. In publish mode (anonymous read-only HTTP endpoint, default port 6808), an unauthenticated remote attacker can read arbitrary files inside WorkspaceDir — including conf/conf.json (which contains the AccessAuthCode SHA256 hash, API token, and sync keys), temp/siyuan.db, temp/blocktree.db, and siyuan.log — by double-URL-encoding .. segments. This vulnerability is fixed in 3.7.0.

Breakdown
69.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 40 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+40 days

Affected versions and fixes

as published in the CVE record

siyuan-note siyuan

Affected: < 3.7.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: github.com/siyuan-note/siyuan/kernel.

Gogithub.com/siyuan-note/siyuan/kernelGHSA-p4m3-mgmm-c664GO-2026-5964

Upgrade to 0.0.0-20260628153353-2d5d72223df4 or later

Gogo get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260628153353-2d5d72223df4

The first fix for CVE-2026-54066. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 0.0.0-20260628153353-2d5d72223df40.0.0-20260628153353-2d5d72223df4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close