ADVISORIES

GitHub Advisory Database

GHSA-6mj8-jmp2-g8q7

Vanna has a SQL injection in the remove_training_data function

Moderate No fix available CVE-2026-4229PYSEC-2026-3397

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