Critical severity · published Mar 7, 2026
CVE-2026-30860
WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool
9.8
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
WeKnora · Tencent
< 0.2.12 · source: vendor, NVD
Affected product
WE
WeKnora
Tencent
More from WeKnora
9.8
CVE-2026-22687
WeKnora vulnerable to SQL Injection
9.8
CVE-2025-11046
Tencent WeKnora test testEmbeddingModel server-side request forgery
8.8
CVE-2026-30861
WeKnora: Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation
8.8
CVE-2026-30855
WeKnora: Broken Access Control in Tenant Management
8.8
CVE-2026-22688
WeKnora has Command Injection in MCP stdio test