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

Published Aug 30, 2026
·
Updated

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/.

Affected Software

1 affected component
SiYuan SiYuan<3.8.1

Event History

Aug 30, 2026
CVE Published
via MITRE·02:33 PM
Data Sourced
via MITRE·02:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Exploitation requires authentication as a SiYuan administrator. An unauthenticated remote attacker is not described as able to access the affected endpoints.

2

What information could an administrator retrieve through the affected routes?

The affected /history/*path and /repo/diff/*path routes can expose historical snapshots of files that should be blocked by the absolute-path guard. Examples include data/.siyuan/publishAccess.json, which contains plaintext publish-mode passwords, and files under data/templates/.

3

Are default deployments affected?

The provided information identifies affected SiYuan versions before v3.8.1, but does not state whether the vulnerable paths or publish-mode passwords are present or enabled in a default deployment.

4

How can I determine whether my instance is affected?

Check the deployed SiYuan version. Versions before v3.8.1 are affected; the fix is the application of the IsForbiddenAbsPath guard to the /history/*path and /repo/diff/*path endpoints.

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