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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-82651— SiYuan before v3.8.1 Missing Authorization via /history and /repo/diff

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 在 v3.8.1 之前,未将 IsForbiddenAbsPath 守卫(该守卫由 GHSA-c8r8-95hg-mp34 引入)应用于 中的 和 端点。这些路由要求管理员身份认证,但文件路径是独立构造的。因此,已认证的管理员可以获取本应被该守卫拦截的敏感文件的历史快照,其中包括 (包含明文发布的访问密码)以及 目录下的文件。

CVSS 4.9 · Medium

Possible ATT&CK Techniques 1 AI

T1213 · Data from Information Repositories
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82651

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.1 Missing Authorization via /history and /repo/diff
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan before v3.8.1 does not apply the IsForbiddenAbsPath guard (introduced in GHSA-c8r8-95hg-mp34) to the /history/*path and /repo/diff/*path endpoints in kernel/server/serve.go. These routes require admin authentication but construct file paths independently, so an authenticated administrator can retrieve historical snapshots of sensitive files that the guard is meant to block, including data/.siyuan/publishAccess.json (plaintext publish-mode passwords) and files under data/templates/.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
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.1 -

II. Public POCs for CVE-2026-82651

# 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-82651

登录查看更多情报信息。

Vendor Advisories for CVE-2026-82651 (2)

Same Patch Batch · siyuan-note · 2026-08-30 · 6 CVEs total

CVE-2026-82654 8.9 HIGH SiYuan before v3.8.1 Stored XSS via block name
CVE-2026-82653 8.9 HIGH SiYuan before v3.8.1 Stored XSS via confirmDialog
CVE-2026-82649 7.0 HIGH SiYuan before 3.8.1 Local Privilege Escalation via Uncontrolled Search Path
CVE-2026-82652 5.3 MEDIUM SiYuan before v3.8.1 Information Disclosure via Publish Access
CVE-2026-82650 4.4 MEDIUM SiYuan before v3.8.1 Path Traversal via /api/template/render

IV. Related Vulnerabilities

V. Comments for CVE-2026-82651

No comments yet


Leave a comment