Vanna has a SQL injection in the remove_training_data function
Moderate severity
GitHub Reviewed
Published
Mar 16, 2026
to the GitHub Advisory Database
•
Updated Mar 17, 2026
Description
Published by the National Vulnerability Database
Mar 16, 2026
Published to the GitHub Advisory Database
Mar 16, 2026
Reviewed
Mar 17, 2026
Last updated
Mar 17, 2026
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