Skip to main content

Vanna CVE-2026-4229

| EUVDEUVD-2026-12373 MEDIUM
SQL Injection (CWE-89)
2026-03-16 VulDB GHSA-6mj8-jmp2-g8q7
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

7
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
Severity Changed
Apr 22, 2026 - 21:37 NVD
HIGH MEDIUM
CVSS changed
Apr 22, 2026 - 21:37 NVD
7.3 (HIGH) 6.9 (MEDIUM)
PoC Detected
Mar 16, 2026 - 14:53 vuln.today
Public exploit code
EUVD ID Assigned
Mar 16, 2026 - 09:00 euvd
EUVD-2026-12373
Analysis Generated
Mar 16, 2026 - 09:00 vuln.today
CVE Published
Mar 16, 2026 - 08:32 nvd
HIGH 7.3

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 pypi packages depend on vanna (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.0.2.

DescriptionCVE.org

A flaw has been found in vanna-ai vanna up to 2.0.2. This impacts the function remove_training_data of the file src/vanna/legacy/google/bigquery_vector.py. This manipulation of the argument ID causes sql injection. The attack can be initiated remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

AnalysisAI

SQL injection in Vanna AI's BigQuery integration (versions up to 2.0.2) allows unauthenticated remote attackers to manipulate the remove_training_data function through unsanitized ID parameters. Public exploit code exists for this vulnerability, and the vendor has not released a patch despite early notification. Successful exploitation enables attackers to read, modify, or delete database contents with limited impact on confidentiality, integrity, and availability.

Technical ContextAI

The Vanna library is an AI-powered SQL assistant that helps generate SQL queries from natural language. The vulnerability affects the BigQuery vector storage implementation in src/vanna/legacy/google/bigquery_vector.py, where the remove_training_data function fails to properly sanitize the ID parameter before constructing SQL queries. This is a classic SQL injection vulnerability (CWE-89) where user-controlled input is concatenated directly into SQL statements without proper parameterization or escaping. The affected product is identified by CPE cpe:2.3:a:vanna-ai:vanna:*:*:*:*:*:*:*:* for versions up to and including 2.0.2.

RemediationAI

Since the vendor has not responded to the vulnerability disclosure and no patch is currently available, organizations should immediately assess their exposure to this vulnerability. If using Vanna versions up to 2.0.2 with BigQuery integration, consider temporarily disabling the affected remove_training_data functionality or implementing input validation at the application layer to sanitize ID parameters before they reach the vulnerable function. Monitor the vendor's repository for security updates and consider switching to alternative SQL assistant tools if the vendor continues to be unresponsive. The proof-of-concept exploit code at https://gist.github.com/YLChen-007/b4f326eaecc29b192cf93dc5d6bc0623 can be used to test your systems for vulnerability.

Share

CVE-2026-4229 vulnerability details – vuln.today

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