Description
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.
Published: 2026-09-09
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan versions preceding v3.8.2 contain a path traversal flaw in the /api/riff/removeRiffDeck endpoint that does not properly validate the deckID parameter. An authenticated administrator can supply directory traversal sequences to delete arbitrary .deck and .cards files that reside outside the normal workspace directory. The vulnerability allows the removal of critical user data but does not provide direct code execution or arbitrary file read capabilities. The primary security consequence is the loss of important documents and potential disruption of workflow for authorized users.

Affected Systems

The flaw affects all releases of the SiYuan note application before version 3.8.2 from the vendor siyuan-note. Users deploying earlier builds are susceptible, regardless of operating system or deployment context.

Risk and Exploitability

The CVSS score of 8.4 places the issue in the High severity range, and the vulnerability requires an attacker to have administrative privileges to trigger the file deletion exploit. Because the flaw is triggered via a legitimate API endpoint used by administrators, the attack vector is likely internal or from a compromised administrator account. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, yet the potential for damaging data loss remains significant for systems accessible to admin users.

Generated by OpenCVE AI on September 9, 2026 at 12:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.8.2 or later to get the fixed input validation for deckID
  • Enforce strong authentication and rotate administrator credentials to reduce the likelihood of unauthorized admin access
  • Apply input validation that rejects path traversal sequences on the deckID parameter or restrict API access to trusted users

Generated by OpenCVE AI on September 9, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Description 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.
Title SiYuan before v3.8.2 Path Traversal via removeRiffDeck
First Time appeared B3log
B3log siyuan
Weaknesses CWE-73
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H'}

cvssV4_0

{'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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T11:21:02.630Z

Reserved: 2026-09-09T10:30:15.670Z

Link: CVE-2026-87815

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T12:17:16.537

Modified: 2026-09-09T12:17:16.537

Link: CVE-2026-87815

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T13:00:14Z

Weaknesses
  • CWE-73

    External Control of File Name or Path