CVE-2026-30860 Details
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.
A remote code execution vulnerability has been identified in WeKnora versions prior to 0.2.12. The issue arises in the application's database query functionality, where the validation system fails to properly inspect child nodes within PostgreSQL array and row expressions. This oversight allows attackers to bypass SQL injection protections by embedding harmful PostgreSQL functions into these expressions. Exploitation involves chaining these functions with large object operations and library loading capabilities, enabling an unauthenticated attacker to execute arbitrary code on the database server with the privileges of the database user.
Users are advised to update WeKnora to version 0.2.12 or later. Additionally, PostgreSQL configurations should be reviewed to disable dynamic library loading and restrict database users to SELECT-only permissions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wv | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tencent weknora | < 0.2.12 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 7, 2026 | New CVE Received | [email protected] |