SiYuan versions before v3.8.4 contain a path traversal vulnerability in the checkoutRepo endpoint that allows authenticated administrators to write JSON files outside the workspace. Attackers can supply a sessionID parameter containing directory traversal sequences to overwrite arbitrary JSON files in pre-existing kernel-writable directories outside workspace boundaries.
https://www.vulncheck.com/advisories/siyuan-before-3.8.4-path-traversal-via-checkoutrepo-sessionid
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jhmh-hr4g-c5g2
Published: 2026-09-26
Updated: 2026-10-05
Base Score: 6.8
Vector: CVSS2#AV:N/AC:L/Au:M/C:N/I:C/A:P
Severity: Medium
Base Score: 7.6
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
Severity: High
Base Score: 8.3
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L
Severity: High
EPSS: 0.00553