---
id: CVE-2026-87815
title: >-
  SiYuan versions before v3.8.2 contain a path traversal vulnerability in the
  /api/riff/removeRiffDeck endpoint that fails to validate the deckID parameter
summary: >-
  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
  arbit…
severity: high
cvss: 8.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H'
cwe:
  - CWE-73
vendor: siyuan-note
product: siyuan
affected:
  - siyuan < 3.8.2
published: '2026-09-09'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T14:17:17.650'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87815'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-94vh-rpgr-rpwc
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.2-path-traversal-via-removeriffdeck
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-94vh-rpgr-rpwc
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T13:07:42.724144Z'
epss: 0.00479
epssPercentile: 0.3878
ingestedAt: '2026-09-14T15:23:07.418Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
