ADVISORIES

PyPA Advisory Database

PYSEC-2026-3397

Vanna has a SQL injection in the remove_training_data function

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.

Affected packages

EcosystemPackageAffected versions
PyPIvanna
All versions up to and including 2.0.2

References