Authenticated admin-only endpoint access via missing role check
Published Aug 18, 2026 · Updated Aug 18, 2026
Improper authorization in SiYuan before 3.7.4 allows remote authenticated users to access an admin-only DOM transformation endpoint. In kernel/api/router.go, POST /api/lute/spinBlockDOM is registered with CheckAuth but not the CheckAdminRole and CheckReadonly middleware used by sibling endpoint /api/lute/html2BlockDOM, and spinBlockDOM() passes the caller-supplied dom string to luteEngine.SpinBlockDOM without a size limit. Any authenticated RoleEditor or RoleReader session can reach the handler, and oversized requests can serialize and stall only that endpoint through ControlConcurrency's per-path mutex; published scoring limits the confirmed impact to low integrity.
Summary
What happened
Improper authorization in SiYuan before 3.7.4 allows remote authenticated users to access an admin-only DOM transformation endpoint. In kernel/api/router.go, POST /api/lute/spinBlockDOM is registered with CheckAuth but not the CheckAdminRole and CheckReadonly middleware used by sibling endpoint /api/lute/html2BlockDOM, and spinBlockDOM() passes the caller-supplied dom string to luteEngine.SpinBlockDOM without a size limit. Any authenticated RoleEditor or RoleReader session can reach the handler, and oversized requests can serialize and stall only that endpoint through ControlConcurrency's per-path mutex; published scoring limits the confirmed impact to low integrity.
The record
- CVE
- CVE-2026-74903
- Published
- Aug 18, 2026
- Updated
- Aug 18, 2026
- Vendor
- SiYuan Note
- Product
- SiYuan
- Classifications
- CWE-400, T1499
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 18, 2026CVE publishedPublication date reported by the CVE source.
- Aug 18, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.7.4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA-3j8q-5c8c-grwm proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo