CVE-2026-54068: CWE-306: Missing Authentication for Critical Function in siyuan-note siyuan
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the /api/icon/getDynamicIcon endpoint is explicitly excluded from authentication in SiYuan's kernel router (router.go, "不需要鉴权" -- no auth needed). When called with type=8 and a valid block id parameter, this endpoint invokes RenderDynamicIconContentTemplate, which executes a Go template that includes the querySQL and queryBlocks functions. These functions run arbitrary SELECT statements against the SiYuan SQLite database. An unauthenticated network-adjacent attacker who knows a valid block ID can exfiltrate all user note content, tags, asset references, and block attributes from the database. This vulnerability is fixed in 3.7.0.
AI Analysis
Technical Summary
CVE-2026-54068 is a missing authentication vulnerability (CWE-306) in SiYuan note-taking software before version 3.7.0. The /api/icon/getDynamicIcon API endpoint is explicitly excluded from authentication, enabling unauthenticated attackers who possess a valid block ID to perform arbitrary SELECT queries on the underlying SQLite database. This flaw allows attackers to access sensitive user data including notes, tags, assets, and block attributes without any privileges. The vulnerability has a CVSS 3.1 base score of 5.9 (medium severity) and is resolved in SiYuan version 3.7.0.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read sensitive data stored in the SiYuan SQLite database by executing arbitrary SELECT queries. This leads to confidentiality loss of all user note content, tags, asset references, and block attributes. There is no impact on integrity or availability reported. No known exploits in the wild have been documented.
Mitigation Recommendations
A fix is available in SiYuan version 3.7.0. Users and administrators should upgrade to version 3.7.0 or later to remediate this vulnerability. Since the vendor advisory or patch links are not explicitly provided, verify the upgrade from official SiYuan sources to ensure the vulnerability is addressed.
CVE-2026-54068: CWE-306: Missing Authentication for Critical Function in siyuan-note siyuan
Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the /api/icon/getDynamicIcon endpoint is explicitly excluded from authentication in SiYuan's kernel router (router.go, "不需要鉴权" -- no auth needed). When called with type=8 and a valid block id parameter, this endpoint invokes RenderDynamicIconContentTemplate, which executes a Go template that includes the querySQL and queryBlocks functions. These functions run arbitrary SELECT statements against the SiYuan SQLite database. An unauthenticated network-adjacent attacker who knows a valid block ID can exfiltrate all user note content, tags, asset references, and block attributes from the database. This vulnerability is fixed in 3.7.0.
CVSS v3.1
Score 5.9medium
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54068 is a missing authentication vulnerability (CWE-306) in SiYuan note-taking software before version 3.7.0. The /api/icon/getDynamicIcon API endpoint is explicitly excluded from authentication, enabling unauthenticated attackers who possess a valid block ID to perform arbitrary SELECT queries on the underlying SQLite database. This flaw allows attackers to access sensitive user data including notes, tags, assets, and block attributes without any privileges. The vulnerability has a CVSS 3.1 base score of 5.9 (medium severity) and is resolved in SiYuan version 3.7.0.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read sensitive data stored in the SiYuan SQLite database by executing arbitrary SELECT queries. This leads to confidentiality loss of all user note content, tags, asset references, and block attributes. There is no impact on integrity or availability reported. No known exploits in the wild have been documented.
Mitigation Recommendations
A fix is available in SiYuan version 3.7.0. Users and administrators should upgrade to version 3.7.0 or later to remediate this vulnerability. Since the vendor advisory or patch links are not explicitly provided, verify the upgrade from official SiYuan sources to ensure the vulnerability is addressed.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T18:24:35.097Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3c501e4853345fc1e45c42
Added to database: 06/24/2026, 21:46:06 UTC
Last enriched: 07/11/2026, 09:50:48 UTC
Last updated: 08/06/2026, 00:41:14 UTC
Views: 63
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.