SiYuan versions before v3.8.2 contain a path traversal vulnerability in the /api/riff/removeRiffDeck endpoint that fails to validate the deckID parameter. An authenticated administrator can supply path traversal sequences to delete arbitrary .deck and .cards files outside the workspace directory.
https://www.vulncheck.com/advisories/siyuan-before-3.8.2-path-traversal-via-removeriffdeck
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-94vh-rpgr-rpwc
Published: 2026-09-09
Updated: 2026-09-09
Base Score: 7.7
Vector: CVSS2#AV:N/AC:L/Au:M/C:N/I:C/A:C
Severity: High
Base Score: 8.7
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H
Severity: High
Base Score: 8.4
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H
Severity: High
EPSS: 0.00266