Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Tencent/WeKnora
  4. ›
  5. CVE-2026-30860

CVE-2026-30860: WeKnora Vulnerable to Remote Code Execution via SQL Injection Bypass in AI Database Query Tool

March 6, 2026 (updated March 9, 2026)

A critical 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.

<strong>Impact:</strong> Complete system compromise with arbitrary code execution

References

  • github.com/Tencent/WeKnora
  • github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wv
  • github.com/advisories/GHSA-8w32-6mrw-q5wv
  • nvd.nist.gov/vuln/detail/CVE-2026-30860

Code Behaviors & Features

Detect and mitigate CVE-2026-30860 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.12

Fixed versions

  • 0.2.12

Solution

Upgrade to version 0.2.12 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

go/github.com/Tencent/WeKnora/CVE-2026-30860.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:16:59 +0000.