{"id":"CVE-2026-30860","published":"2026-03-07T16:36:45Z","modified":"2026-03-09T18:24:08Z","title":"WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool","vendor":"Tencent","product":"WeKnora","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00735,"percentile":0.55344,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":11.07},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"tencent","affectedVersions":[{"vendor":"Tencent","product":"WeKnora","versions":["< 0.2.12"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-09T17:58:53.330423Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/Tencent/WeKnora","vulnerableRanges":["<0.2.12","all versions"],"patched":["0.2.12"],"from":["GHSA-8w32-6mrw-q5wv","GO-2026-4641"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection protection bypass in the database query functionality of Tencent's WeKnora, an LLM-powered document understanding and semantic retrieval framework, because its validation does not recursively inspect child nodes within PostgreSQL array and row expressions. An attacker with network access to the application can smuggle dangerous PostgreSQL functions inside those expressions and chain them with large object and library loading operations to execute code on the database server with the database user's privileges, without needing authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:48Z"},"euvd":{"id":"EUVD-2026-10183","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-30861","published":"2026-03-07","fixed":"0.2.10","kev":false,"link":{"from":"CVE-2026-30861","to":"CVE-2026-30860","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/Tencent/WeKnora","fromFixed":"0.2.10","toFixed":"0.2.12","daysApart":0}]}},{"cve":"CVE-2026-30247","published":"2026-03-07","fixed":"0.2.12","kev":false},{"cve":"CVE-2026-30859","published":"2026-03-07","fixed":"0.2.12","kev":false},{"cve":"CVE-2026-30860","published":"2026-03-07","fixed":"0.2.12","kev":false},{"cve":"CVE-2026-30856","published":"2026-03-07","fixed":"0.3.0","kev":false},{"cve":"CVE-2026-30857","published":"2026-03-07","fixed":"0.3.0","kev":false},{"cve":"CVE-2026-30858","published":"2026-03-07","fixed":"0.3.0","kev":false}],"package":"Go:github.com/Tencent/WeKnora"}}