CVE-2026-45371: CWE-285: Improper Authorization in siyuan-note siyuan
SiYuan versions prior to 3. 7. 0 contain an improper authorization vulnerability where certain publish-mode Reader roles can modify server-side configuration and SQL index data via eight APIs that lack sufficient authorization checks. These APIs only require basic authentication but omit stricter admin or readonly role checks, allowing unauthorized mutation of critical state files. This vulnerability is addressed in version 3. 7. 0.
AI Analysis
Technical Summary
CVE-2026-45371 affects SiYuan, an open-source personal knowledge management system, in versions before 3.7.0. Eight POST APIs related to graph data, synchronization settings, document view times, and search embedding updates are protected only by a basic authentication check (model.CheckAuth) but lack enforcement of admin or readonly roles. This allows any caller with a valid JWT passing CheckAuth—including anonymous publish-service Reader roles and Editors in readonly workspaces—to perform unauthorized writes to server-side state, including atomic overwrites of the workspace configuration file conf.json. The vulnerability is fixed in SiYuan 3.7.0.
Potential Impact
An attacker or unauthorized user with a valid JWT token that passes basic authentication can modify critical server-side configuration and SQL index data. This could lead to unauthorized changes in application behavior or data integrity issues. The CVSS 4.0 score is 7.2 (high severity), reflecting network attack vector, low attack complexity, no user interaction, and high impact on integrity and availability.
Mitigation Recommendations
Upgrade SiYuan to version 3.7.0 or later, where this improper authorization vulnerability has been fixed. Until then, restrict access to the affected APIs to trusted users only and avoid exposing publish-mode Reader roles to untrusted parties. Patch status is not explicitly confirmed in the advisory, but the vendor fixed the issue in version 3.7.0.
CVE-2026-45371: CWE-285: Improper Authorization in siyuan-note siyuan
Description
SiYuan versions prior to 3. 7. 0 contain an improper authorization vulnerability where certain publish-mode Reader roles can modify server-side configuration and SQL index data via eight APIs that lack sufficient authorization checks. These APIs only require basic authentication but omit stricter admin or readonly role checks, allowing unauthorized mutation of critical state files. This vulnerability is addressed in version 3. 7. 0.
CVSS v4.0
Score 7.2high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45371 affects SiYuan, an open-source personal knowledge management system, in versions before 3.7.0. Eight POST APIs related to graph data, synchronization settings, document view times, and search embedding updates are protected only by a basic authentication check (model.CheckAuth) but lack enforcement of admin or readonly roles. This allows any caller with a valid JWT passing CheckAuth—including anonymous publish-service Reader roles and Editors in readonly workspaces—to perform unauthorized writes to server-side state, including atomic overwrites of the workspace configuration file conf.json. The vulnerability is fixed in SiYuan 3.7.0.
Potential Impact
An attacker or unauthorized user with a valid JWT token that passes basic authentication can modify critical server-side configuration and SQL index data. This could lead to unauthorized changes in application behavior or data integrity issues. The CVSS 4.0 score is 7.2 (high severity), reflecting network attack vector, low attack complexity, no user interaction, and high impact on integrity and availability.
Mitigation Recommendations
Upgrade SiYuan to version 3.7.0 or later, where this improper authorization vulnerability has been fixed. Until then, restrict access to the affected APIs to trusted users only and avoid exposing publish-mode Reader roles to untrusted parties. Patch status is not explicitly confirmed in the advisory, but the vendor fixed the issue in version 3.7.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-12T00:51:29.086Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a06e21cec166c07b0e8f088
Added to database: 5/15/2026, 9:06:36 AM
Last enriched: 5/22/2026, 3:35:05 PM
Last updated: 6/5/2026, 11:06:30 PM
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.