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

AILast updated: 03/06/2026, 07:46:20 UTC

Technical Analysis

CVE-2026-29073 identifies a missing authorization vulnerability (CWE-862) in the SiYuan personal knowledge management system prior to version 3.6.0. The vulnerability exists in the /api/query/sql endpoint, which permits any authenticated user to execute arbitrary SQL queries directly against the backend database. The root cause is that the endpoint only enforces basic authentication but does not verify that the user has administrative privileges before allowing SQL execution. This lack of proper authorization enables users with minimal privileges, such as readers, to perform potentially destructive or data-exfiltrating SQL commands. The vulnerability also relates to CWE-89 (SQL Injection) because it allows arbitrary SQL execution, though here the injection vector is authorized users abusing insufficient access controls rather than external injection. The vulnerability is remotely exploitable without user interaction and requires only low privileges (authenticated user). The CVSS 4.0 score is 5.7 (medium severity), reflecting the moderate impact and ease of exploitation. The issue was publicly disclosed and patched in version 3.6.0, but no known exploits have been reported in the wild. The vulnerability poses risks including unauthorized data access, data modification, and potential denial of service through malicious SQL commands.

Potential Impact

The vulnerability allows any authenticated user, including those with minimal read-only permissions, to execute arbitrary SQL queries on the SiYuan database. This can lead to unauthorized disclosure of sensitive information, data tampering, or deletion, compromising confidentiality, integrity, and availability of the system. Attackers could extract confidential notes, modify or delete data, or disrupt service by executing destructive queries. Since the vulnerability requires only basic authentication and no user interaction, it can be exploited remotely by any logged-in user, increasing the attack surface. Organizations relying on SiYuan for knowledge management risk data breaches and operational disruption. The impact is particularly severe in environments where sensitive or proprietary information is stored. Additionally, the ability to run arbitrary SQL commands could facilitate further lateral movement or privilege escalation within the environment.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately upgrade SiYuan to version 3.6.0 or later, where the authorization checks have been properly implemented. Until upgrade is possible, restrict access to the /api/query/sql endpoint to trusted administrative users only, using network-level controls such as firewall rules or API gateways. Implement strong authentication and role-based access controls to ensure only authorized administrators can execute SQL queries. Monitor logs for unusual SQL query activity or access patterns indicative of exploitation attempts. Conduct regular audits of user privileges to minimize the number of users with elevated access. Additionally, consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block suspicious SQL query requests. Educate users about the risks of sharing credentials and enforce multi-factor authentication to reduce the risk of compromised accounts being used to exploit this vulnerability.

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/6/2026, 7:46:20 AM

Last updated: 3/7/2026, 7:42:12 AM

Views: 10

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 in Console -> Billing 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