Skip to main content

Weknora CVE-2026-30860

CRITICAL
SQL Injection (CWE-89)
2026-03-07 security-advisories@github.com GHSA-8w32-6mrw-q5wv
9.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious PostgreSQL array expression
  2. Delivery
    Bypass recursive validation in child nodes
  3. Exploit
    Smuggle dangerous functions via row expressions
  4. Execution
    Chain with large object operations
  5. Persist
    Load arbitrary library
  6. Impact
    Execute remote code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

WeKnora version prior to 0.2.12 with database query functionality exposed; authenticated user account required (PR:L); PostgreSQL backend with large object operations and library loading capabilities enabled.

Impact

CVSS 9.9, PoC available. AI/ML frameworks handling documents often contain sensitive business data.

Exploit ScenarioDerived

Authenticated user injects SQL through document search query, extracts sensitive documents, user data, or system credentials from the database.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

SQL injection in WeKnora LLM document understanding framework allows authenticated users to extract arbitrary database contents. CVSS 9.9 with scope change. PoC available.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:55 CVSS 9.9

SQL injection in WeKnora LLM-powered document retrieval framework.

RemediationAI

Update WeKnora. Use parameterized queries for all database operations.

Affected Packages

go github.com/tencent/weknora fix: 0.2.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-89 SQL injection with scope change. Authenticated users can inject SQL through document queries, accessing data beyond their authorization scope.

Know when Weknora gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Mar 09, 2026 - 17:35 vuln.today
Public exploit code
CVE Published
Mar 07, 2026 - 17:15 nvd
CRITICAL 9.9

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability (CVE-2026-30860) affects WeKnora LLM framework versions prior to 0.2.12, allowing unauthenticated attackers to execute arbitrary code through database query manipulation. Organizations using affected versions face complete system compromise and potential data breach, with active public exploits already available.

Business Impact: Severe
Compensating Controls

Implement network segmentation isolating WeKnora instances; restrict database query API endpoints to authenticated users only via WAF/API gateway; disable or restrict the document processing and semantic retrieval features if operationally feasible; enforce strict input validation and query parameter sanitization; enable comprehensive logging and real-time alerting on database query patterns; consider temporary migration of document processing workloads to alternative systems until patch is available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 63% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:tencent:weknora:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy