PT-2026-85007 · Siyuan · Siyuan

·

CVE-2026-85175

·

Published

2026-09-03

·

Updated

2026-09-03

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SiYuan versions prior to 3.8.2
Description An incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/path guard.go) fails to restrict access to the TLS private key (conf/key.pem) and the CA private key (conf/ca.key) within the conf/ directory. Since the getFile handler bypasses the blocklist for users with RoleAdministrator privileges, and all authenticated users are granted this role, any user or client on a default instance without an authentication code can retrieve these private keys via the 'POST /api/file/getFile' endpoint. In deployments with TLS enabled, this allows for the decryption of captured HTTPS traffic and the forging of certificates trusted by clients that imported the software's CA.
Recommendations Update to version 3.8.2. Restrict access to the 'POST /api/file/getFile' endpoint to minimize the risk of private key retrieval.

Exploit

Fix

Files Accessible to External Parties

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-85175
GHSA-4WWP-F6GW-6QM5

Affected Products

Siyuan