What’s Vulnerable › Vulnerabilities
CVE-2026-30860: WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-07 · updated 2026-06-17
- Weakness: CWE-89
Description
WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior to version 0.2.12, a remote code execution (RCE) vulnerability exists in the application's database query functionality. The validation system fails to recursively inspect child nodes within PostgreSQL array expressions and row expressions, allowing attackers to bypass SQL injection protections. By smuggling dangerous PostgreSQL functions inside these expressions and chaining them with large object operations and library loading capabilities, an unauthenticated attacker can achieve arbitrary code execution on the database server with database user privileges. This issue has been patched in version 0.2.12.
Affected products
- Tencent WeKnora: before 0.2.12 — fixed in 0.2.12
How to fix
Upgrade to a fixed version: Tencent WeKnora 0.2.12. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-30860 or the next vulnerability affects your stack