Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-29073: CWE-862: Missing Authorization in siyuan-note siyuan

0
Medium
VulnerabilityCVE-2026-29073cvecve-2026-29073cwe-862cwe-89
Published: Fri Mar 06 2026 (03/06/2026, 07:18:03 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan is a personal knowledge management system. Prior to version 3.6.0, the /api/query/sql lets a user run sql directly, but it only checks basic auth, not admin rights, any logged-in user, even readers, can run any sql query on the database. This issue has been patched in version 3.6.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/13/2026, 19:35:21 UTC

Technical Analysis

CVE-2026-29073 is a vulnerability in the SiYuan personal knowledge management system, specifically in versions before 3.6.0. The flaw exists in the /api/query/sql API endpoint, which permits SQL query execution by any authenticated user without verifying if the user has administrative privileges. The system only performs basic authentication checks but fails to enforce authorization, allowing users with minimal privileges, such as readers, to run arbitrary SQL commands directly on the backend database. This missing authorization (CWE-862) combined with the ability to execute SQL queries (CWE-89) can lead to unauthorized data disclosure, data modification, or potentially full database compromise. The vulnerability is remotely exploitable over the network without requiring user interaction or elevated privileges beyond authentication. The CVSS 4.0 base score is 5.7 (medium severity), reflecting the moderate impact and ease of exploitation. The issue was publicly disclosed on March 6, 2026, and has been fixed in SiYuan version 3.6.0. No known active exploits have been reported, but the vulnerability poses a significant risk to any deployment running outdated versions.

Potential Impact

The vulnerability allows any authenticated user, including those with read-only access, to execute arbitrary SQL queries on the SiYuan database. This can lead to unauthorized access to sensitive information, data tampering, or deletion, compromising the confidentiality, integrity, and availability of the data stored within SiYuan. For organizations relying on SiYuan for knowledge management, this could result in data breaches, loss of intellectual property, or disruption of business operations. Since the flaw does not require administrative privileges or user interaction, it lowers the barrier for exploitation by insiders or attackers who have gained basic user credentials. The impact is particularly critical in environments where SiYuan stores sensitive or proprietary information. Although no exploits are currently known in the wild, the vulnerability's presence in a network-exposed API endpoint increases the risk of future exploitation attempts.

Mitigation Recommendations

Organizations should immediately upgrade SiYuan to version 3.6.0 or later, where this vulnerability is patched. Until upgrading is possible, restrict access to the /api/query/sql endpoint by implementing network-level controls such as IP whitelisting or VPN access to limit users who can authenticate. Review and enforce strict authentication and authorization policies to ensure users have only the minimum necessary privileges. Monitor logs for unusual SQL query activity or access patterns that could indicate exploitation attempts. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block unauthorized SQL queries targeting this endpoint. Additionally, conduct regular security audits and penetration testing focused on API endpoints to identify similar authorization weaknesses proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-03T20:51:43.482Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69aa82b7c48b3f10ff296e5a

Added to database: 3/6/2026, 7:31:03 AM

Last enriched: 3/13/2026, 7:35:21 PM

Last updated: 4/21/2026, 12:03:05 PM

Views: 93

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses