Skip to main content
VulnerabilityPublished

CVE-2026-4229: vanna · SQL Injection

Affects vannaSource CVE Database V5

0
Compare

Public exploit available · CVSS 6.9 Medium.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
vanna-aivannaAffected
  • =2.0.0
  • =2.0.1
  • =2.0.2
Fixed in–
PyPIvanna-ai/vannapkg:pypi/vanna-ai/vannaOther threatsAffected
  • =2.0.0
  • =2.0.1
  • =2.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Given the absence of official patches, organizations should implement immediate compensating controls. These include deploying web application firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the remove_training_data function or the ID parameter. Network segmentation and restricting access to the vanna service to trusted IP addresses can reduce exposure. Monitoring and logging all requests to the vulnerable endpoint can help detect exploitation attempts early. If feasible, temporarily disabling or restricting the remove_training_data functionality until a patch is available can mitigate risk. Additionally, organizations should review and sanitize all inputs at the application level, applying strict validation and parameterization to prevent injection. Regularly updating threat intelligence feeds and monitoring for any emerging exploits or vendor patches is critical. Finally, consider isolating the database with least privilege access to limit the impact of any successful injection.

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.

References

Community reviews

Loading reviews…