Skip to main content
← All vulnerabilities
CVE-2026-30860GO-2026-4641GHSA-8W32-6MRW-Q5WV

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Tencent WeKnora

    fixed in 0.2.12

  • github.com/Tencent/WeKnoraGo

    All versions

  • github.com/Tencent/WeKnoraGo

    fixed in 0.2.12

References 1

GitHub · Tencent/WeKnora