INCIDENT MAP

Browse / RAG and Vector Store Weaknesses / CVE-2026-4229

Vanna has a SQL injection in the remove_training_data function

CVE-2026-4229 ยท 2026-03-16 moderate

Class
RAG and Vector Store Weaknesses (filed by a model that read the advisory)
Technique
SQL and query injection
Affected
vanna (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.3% chance of exploitation in 30 days

How it works, in short

The ID argument of a BigQuery vector store delete function is concatenated into SQL, letting callers inject query clauses. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.