CVE-2026-4230
Awaiting Analysis Awaiting Analysis - Queue
Remote SQL Injection in vanna-ai Endpoint's update_sql Function

Publication date: 2026-03-16

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability has been found in vanna-ai vanna up to 2.0.2. Affected is the function update_sql of the file src/vanna/legacy/flask/__init__.py of the component Endpoint. Such manipulation leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-16
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-03-16
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
vanna-ai vanna to 2.0.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the vanna-ai vanna software up to version 2.0.2, specifically in the update_sql function located in the src/vanna/legacy/flask/__init__.py file of the Endpoint component.

The issue allows an attacker to perform SQL injection by manipulating the update_sql function. This means that an attacker can inject malicious SQL code remotely, potentially altering or accessing the database in unauthorized ways.

The vulnerability has been publicly disclosed and the vendor did not respond to early contact attempts regarding this issue.


How can this vulnerability impact me? :

This vulnerability can allow a remote attacker to execute arbitrary SQL commands on the affected system's database.

Potential impacts include unauthorized access to sensitive data, data modification, data deletion, or disruption of the application's normal operation.

Because the attack can be launched remotely without user interaction, it increases the risk of exploitation.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

I don't know


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart