---
title: "CVE-2026-30860: WeKnora Vulnerable to Remote Code Execution via SQL Injection Bypass in AI Database Query Tool"
url: https://erroneo.us/security/cve/CVE-2026-30860/
description: "CVE-2026-30860 (github.com/Tencent/WeKnora (Go)): WeKnora is an LLM-powered framework designed for deep document understanding and semantic retrieval. Prior…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-03-07
date_modified: 2026-03-09
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-30860"
kev: false
cvss: 10
epss: 0.00765
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 55: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 55% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/Tencent/WeKnora (Go) <= 0.2.11, fixed in 0.2.12 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/Tencent/WeKnora` <= 0.2.11 → fixed: 0.2.12

## Affected products (CVE record)

- Tencent WeKnora: < 0.2.12

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.77% probability of exploitation activity in the next 30 days; percentile 55.

## Sources

- [GitHub Advisory GHSA-8w32-6mrw-q5wv](https://github.com/advisories/GHSA-8w32-6mrw-q5wv)
- [CVE.org record CVE-2026-30860](https://www.cve.org/CVERecord?id=CVE-2026-30860)
- [NVD entry CVE-2026-30860](https://nvd.nist.gov/vuln/detail/CVE-2026-30860)
- [github.com](https://github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wv)

---
Source page: https://erroneo.us/security/cve/CVE-2026-30860/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
