CVE-2026-30860

Critical

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.

SeverityCritical
CVSS9.9
Exploit probability—
ProductTencent Weknora
PublishedMar 7, 2026
First seenMar 7, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • tencent weknora0.2.12 or later
  • github.com/Tencent/WeKnora0.2.12 or later

Affected products

ProductAffected versionsFixed in
tencent weknorav < 0.2.120.2.12
github.com/Tencent/WeKnoraGov < 0.2.12, No range specified0.2.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.