CVE-2026-87815: SiYuan before v3.8.2 Path Traversal via removeRiffDeck

Published Sep 9, 2026
·
Updated

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.

Affected Software

1 affected component
SiYuan<v3.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in 3.8.2
  2. Configuration

    Ensure the deckID parameter used by /api/riff/removeRiffDeck is validated so path traversal sequences cannot be supplied to delete deck files outside the workspace directory (vulnerable behavior exists in SiYuan versions before v3.8.2).

    SiYuan /api/riff/removeRiffDeck deckID input validation = validated (no path traversal sequences)

Event History

Sep 9, 2026
CVE Published
via MITRE·11:21 AM
Data Sourced
via MITRE·11:21 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated SiYuan administrator can exploit the vulnerable endpoint. The attack can be performed remotely over the network and does not require user interaction.

2

What files can be affected?

An attacker can use path traversal in the deckID parameter to delete .deck and .cards files outside the SiYuan workspace directory. The provided information does not indicate that other file types can be deleted.

3

Which versions need remediation?

SiYuan versions before v3.8.2 are affected. Upgrade to v3.8.2 or later.

4

What permissions are required for exploitation?

The attacker needs authenticated administrator privileges in SiYuan. The vulnerability does not affect an unauthenticated attacker based on the available information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203