CVE-2026-54066 PUBLISHED

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

Assigner: GitHub_M
Reserved: 11.06.2026 Published: 24.06.2026 Updated: 25.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 7.5

Product Status

Vendor siyuan-note
Product siyuan
Versions
  • Version < 3.7.0 is affected

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE
  • CWE-23: Relative Path Traversal CWE
  • CWE-1188: Insecure Default Initialization of Resource CWE