Read the docs
TI-2026-23689 Aliases CVE-2026-30860GHSA-8w32-6mrw-q5wv

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

Priority HIGH 76CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00735 54th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed WeKnora (Tencent): 0.2.12github.com/Tencent/WeKnora (Go): 0.2.12

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
TencentWeKnorabefore 0.2.120.2.12Patch availableCNA
—github.com/Tencent/WeKnora (Go)before 0.2.120.2.12Patch availableGHSA-8w32-6mrw-q5wv
  • WeKnora VendorTencent Affected before 0.2.12 Fixed in 0.2.12 Patch available CNA
  • github.com/Tencent/WeKnora (Go) Vendor— Affected before 0.2.12 Fixed in 0.2.12 Patch available GHSA-8w32-6mrw-q5wv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:*before 0.2.12VulnerableTencent
  • cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:* Versions before 0.2.12 Vulnerable ·Tencent

Remediation

  • Fix · CNA WeKnora (Tencent) Fixed in 0.2.12
  • Fix · GHSA-8w32-6mrw-q5wv github.com/Tencent/WeKnora (Go) Fixed in 0.2.12 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-30860
  2. 2026-10-03 Alias added: GHSA-8w32-6mrw-q5wv

References

  • TI-2026-23690 WeKnora: Remote Code Execution (RCE) via Command Injection in MCP Stdio Configuration Validation CVSS 3.1CRITICAL 10.0
  • TI-2026-18215 WeKnora has Command Injection in MCP stdio test CVSS 3.1CRITICAL 10.0
  • TI-2026-18214 WeKnora vulnerable to SQL Injection CVSS 3.1CRITICAL 9.8
  • TI-2026-23684 WeKnora: Broken Access Control in Tenant Management CVSS 3.1HIGH 8.8
  • TI-2025-10116 Tencent WeKnora test testEmbeddingModel server-side request forgery CVSS 4.0MEDIUM 6.9
  • TI-2026-23687 WeKnora: DNS Rebinding Vulnerability in web_fetch Tool Allows SSRF to Internal Resources CVSS 3.1HIGH 7.5
See all 11 →

Sources