Vulnerability · Published Mar 7, 2026 · Assigned by GitHub_M

CVE-2026-30860WeKnora: Remote Code Execution via SQL Injection Bypass in AI Database Query Tool

Critical 10.0

In plain English

A critical-severity SQL injection in WeKnora from Tencent. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)0.7%top 45.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/Tencent/WeKnora0.2.12GHSA-8w32-6mrw-q5wv
Gogithub.com/Tencent/WeKnorano fix listedGO-2026-4641

Affected products (as reported)

VendorProductVersions
Tencent WeKnora < 0.2.12

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References