CVE-2026-74904: SiYuan before v3.7.4 Missing Authorization via block API

Published Aug 18, 2026
·
Updated

SiYuan before v3.7.4 is missing authorization checks in 17 block metadata/content endpoints in kernel/api/block.go (including getRefText, checkBlockExist, and getBlockBreadcrumb). These handlers are gated only by basic authentication (model.CheckAuth) and lack publish-access filtering, allowing anonymous publish-mode readers to disclose private block content-derived text, structural metadata, and existence information for arbitrary block IDs across the workspace.

Affected Software

1 affected component
SiYuan<3.7.4

Event History

Aug 18, 2026
CVE Published
via MITRE·11:19 AM
Data Sourced
via MITRE·11:19 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Instances running a version before v3.7.4 are affected when anonymous users can access the application's publish mode. The exposed endpoints can reveal private block-derived text, structural metadata, and whether arbitrary block IDs exist elsewhere in the workspace.

2

What does an attacker need to exploit it?

An attacker needs network access to the affected SiYuan instance and access as an anonymous publish-mode reader. No authenticated account, user interaction, or special privileges are required.

3

Is a default access configuration affected?

Yes. The affected handlers enforce only basic authentication through model.CheckAuth and do not apply publish-access filtering, so publish-mode access can reach data that should remain private.

4

What can be done until the instance is upgraded?

If upgrading is not immediately possible, prevent anonymous access to publish mode or otherwise restrict network access to the SiYuan instance. This reduces the ability of unauthenticated publish-mode readers to query the affected block 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