vanna-ai vanna up to 2.0.2 bigquery_vector.py remove_training_data ID sql injection

Summaryinfo

A vulnerability was found in vanna-ai vanna up to 2.0.2 and classified as critical. Affected is the function remove_training_data of the file src/vanna/legacy/google/bigquery_vector.py. Such manipulation of the argument ID leads to sql injection. This vulnerability is uniquely identified as CVE-2026-4229. The attack can be launched remotely. Moreover, an exploit is present. The vendor was contacted early about this disclosure but did not respond in any way.

Detailsinfo

A vulnerability was found in vanna-ai vanna up to 2.0.2. It has been rated as critical. Affected by this issue is the function remove_training_data of the file src/vanna/legacy/google/bigquery_vector.py. The manipulation of the argument id with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability.

The advisory is shared for download at gist.github.com. This vulnerability is handled as CVE-2026-4229. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1505.

The exploit is available at gist.github.com. It is declared as proof-of-concept. The vendor was contacted early about this disclosure but did not respond in any way.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

03/15/2026 Advisory disclosed
03/15/2026 +0 days VulDB entry created
03/15/2026 +0 days VulDB entry last update

Sourcesinfo

Advisory: gist.github.com
Status: Not defined

CVE: CVE-2026-4229 (🔒)
GCVE (CVE): GCVE-0-2026-4229
GCVE (VulDB): GCVE-100-351152
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/15/2026 19:50
Changes: 03/15/2026 19:50 (58)
Complete: 🔍
Submitter: Eric-y
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #771214: vanna-ai Vanna 2.0.2 SQL Injection (CWE-89) (by Eric-y)

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!