GitHub Advisoryadvisory · PyPI

GHSA-6mj8-jmp2-g8q7 Vanna has a SQL injection in the remove_training_data function

MEDIUM Published 2026-03-16 Modified 2026-03-17 Official page ↗
Aliases
CVE-2026-4229
Ecosystem
PyPI
Packages
vanna
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-74, CWE-89
Reviewed
2026-03-17

Affected packages

• PyPI vanna: <= 2.0.2 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-4229 A flaw has been found in vanna-ai vanna up to 2.0.2. vulnerability

Weakness · CWE (2)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References