Advisory record · GHSA-8w32-6mrw-q5wv

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

CVSS 10.0 CriticalCriticalEPSS 0.0073 · 54th percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 6 Mar 2026, 23:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/Tencent/WeKnoraGo<0.2.120.2.12
Identifiers
GHSA-8w32-6mrw-q5wv · CVE-2026-30860 · GO-2026-4641
Weakness (CWE)
CWE-89
Published
6 Mar 2026
Updated
23 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GHSA-8w32-6mrw-q5wv affects the Go module github.com/Tencent/WeKnora before 0.2.12. The database query tool's SQL validation does not inspect child nodes of PostgreSQL array and row expressions, so an unauthenticated attacker can hide dangerous functions inside them and reach code execution on the database server with database user privileges. Upgrade to version 0.2.12 or later; the source also suggests restricting the database user to SELECT-only permissions and disabling dynamic library loading in PostgreSQL.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0073, the 54th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:09 UTC First seen by agentprime
  2. 31 Oct 2026, 15:09 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.