Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-85175— SiYuan before v3.8.2 TLS Private Key Disclosure via getFile

Quick assessment

Affected
siyuan-note siyuan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SiYuan 版本 ≤ 3.8.1(在 v3.8.2 中修复)的 函数(位于 )存在一个不完整的禁行路径列表。该列表仅通过精确匹配阻止访问 ,但未限制存储在相同 目录下的 TLS 私钥( )和 CA 私钥( )。由于 处理器会为 角色跳过禁行列表,且在 v3.8.1 中所有经过身份验证的用户均拥有 角色,因此任何用户(或在默认无认证码实例上的任何客户端)都可以通过 获取这些私钥。在启用了 TLS 的部署环境中,攻击者可以利用 解密捕获的 HTTPS 流量,并利用 伪造被导入了 SiYuan CA 的客户端所信任的证

CVSS 8.8 · High

Affected Version Matrix 2

VendorProduct Version RangeStatus
siyuan-note siyuan < 3.8.2 affected
3.8.2 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85175

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SiYuan before v3.8.2 TLS Private Key Disclosure via getFile
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan versions <= 3.8.1 (fixed in v3.8.2) contain an incomplete blocklist in the IsForbiddenAbsPath() function (kernel/util/path_guard.go), which only blocks conf/conf.json by exact match and does not restrict the TLS private key (conf/key.pem) or CA private key (conf/ca.key) stored in the same conf/ directory. Because the getFile handler skips the blocklist for RoleAdministrator and all authenticated users receive RoleAdministrator in v3.8.1, any user (or any client on a default no-auth-code instance) can retrieve these private keys via POST /api/file/getFile. On deployments with TLS enabled, this allows decryption of captured HTTPS traffic (key.pem) and forging of certificates trusted by clients that imported SiYuan's CA (ca.key).
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对外部实体的文件或目录可访问
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan 0 ~ 3.8.2 -

II. Public POCs for CVE-2026-85175

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85175

登录查看更多情报信息。

Vendor Advisories for CVE-2026-85175 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85175

No comments yet


Leave a comment