CVE-2026-30860: WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool
Vulnerability summary
CVE-2026-30860 is a critical (CVSS 10.0) vulnerability in tencent weknora. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 54.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 07-03-2026PublishedVulnerability first disclosed.
- 09-03-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 0.77% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundWeknora
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/Tencent1 product
- WeKnora< 0.2.12 | All versions (No fix recorded)
Tencent1 product
- weknora< 0.2.12
2 vendors · 2 products
References
3 links- github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wvX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/Tencent/WeKnoraPACKAGE