Vulnerability · Published Mar 16, 2026 · Assigned by VulDB
CVE-2026-4229vanna-ai vanna bigquery_vector.py remove_training_data sql injection
High 7.3
In plain English
A high-severity SQL injection in vanna from vanna-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | vanna | no fix listed | GHSA-6mj8-jmp2-g8q7 |
| PyPI | vanna | no fix listed | PYSEC-2026-3397 |
Affected products (as reported)
Weakness: CWE-89, CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-351152 | vanna-ai vanna bigquery_vector.py remove_training_data sql injection vdb-entry, technical-description
- VDB-351152 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #771214 | vanna-ai Vanna 2.0.2 SQL Injection (CWE-89) third-party-advisory
- https://gist.github.com/YLChen-007/b4f326eaecc29b192cf93dc5d6bc0623 exploit