CVE-2026-4230
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vanna-ai | vanna | to 2.0.2 (inc) |
Helpful Resources
Exploitability
| 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