Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4229: SQL Injection in vanna-ai vanna

0
Medium
VulnerabilityCVE-2026-4229cvecve-2026-4229
Published: Mon Mar 16 2026 (03/16/2026, 08:32:07 UTC)
Source: CVE Database V5
Vendor/Project: vanna-ai
Product: vanna

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.

AI-Powered Analysis

AILast updated: 03/16/2026, 09:05:26 UTC

Technical Analysis

CVE-2026-4229 identifies a SQL injection vulnerability in the vanna-ai vanna software, specifically affecting versions 2.0.0 through 2.0.2. The vulnerability resides in the remove_training_data function located in src/vanna/legacy/google/bigquery_vector.py. This function improperly sanitizes or validates the ID parameter, allowing an attacker to inject arbitrary SQL code remotely without requiring authentication or user interaction. The injection flaw can be exploited by sending crafted requests that manipulate the ID argument, potentially enabling attackers to execute unauthorized SQL queries against the underlying database. This can lead to unauthorized data access, modification, or deletion, impacting confidentiality, integrity, and availability of the system's data. The CVSS v4.0 base score is 6.9 (medium severity), reflecting the network attack vector, low complexity, no privileges or user interaction needed, and partial impact on confidentiality, integrity, and availability. The vendor was notified early but has not issued any patches or responses, and while an exploit has been published, no active exploitation has been reported. The absence of patches increases the urgency for organizations to implement alternative mitigations to protect their environments.

Potential Impact

The SQL injection vulnerability in vanna-ai vanna can have significant consequences for organizations relying on this software. Successful exploitation can lead to unauthorized disclosure of sensitive data, unauthorized modification or deletion of training data, and potential disruption of service availability. This can compromise the integrity of machine learning models or analytics relying on the training data, leading to incorrect outputs or decisions. Since the vulnerability is remotely exploitable without authentication, attackers can target exposed instances over the network, increasing the risk of widespread attacks. The lack of vendor response and patches further elevates the risk, as organizations must rely on their own defenses. Data breaches resulting from this vulnerability could lead to regulatory penalties, reputational damage, and operational disruptions, especially in sectors where data integrity and confidentiality are critical.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-15T18:45:03.703Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b7c4789d4df451833a5b8b

Added to database: 3/16/2026, 8:51:04 AM

Last enriched: 3/16/2026, 9:05:26 AM

Last updated: 3/16/2026, 10:07:52 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses