SQL Injection in Tencent Weknora
CVE-2026-30860
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.
Vulnerability class: SQL Injection
EPSS: 0.005 (43.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Tencent Weknora — versions < 0.2.12
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-30860?
- CVE-2026-30860 is a critical-severity vulnerability in Tencent Weknora, classified under SQL Injection. CVSS score: 9.9/10. Published 2026-03-07.
- How severe is CVE-2026-30860?
- Critical severity. CVSS v3 base score is 9.9 out of 10.