Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-30860 EUVD-2026-10183GHSA-8w32-6mrw-q5wvGO-2026-4641

WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool

Published Mar 7, 2026 · Updated Mar 9, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
Tencent WeKnora < 0.2.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/Tencent/WeKnora < 0.2.12 0.2.12 GHSA-8w32-6mrw-q5wv
Go github.com/Tencent/WeKnora all versions — GO-2026-4641

Advisories 2

References