Skip to main content

Vanna CVE-2026-4230

| EUVDEUVD-2026-12375 LOW
SQL Injection (CWE-89)
2026-03-16 VulDB
2.1
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 score of 6.3 reflects a medium-severity vulnerability with network accessibility (AV:N), low attack complexity (AC:L), and low privilege requirements (PR:L). The CVSS vector indicates the attacker needs valid credentials but no user interaction, affecting confidentiality, integrity, and availability equally (C:L/I:L/A:L). The exploitation probability (E:P in the vector) is marked as 'Proof-of-Concept', confirming public exploit availability, which significantly elevates practical risk. The lack of vendor response (RL:X) and reproducible complexity (RC:R) suggest this issue warrants immediate attention despite moderate CVSS scoring. From an SSVC perspective, exploitation is public and likely automatable given the straightforward SQL injection pattern, the technical impact spans confidentiality/integrity, and affected systems are likely internet-facing. This represents a high real-world priority vulnerability for any organization running vanna-ai/vanna, particularly given the SQL injection nature and public POC.

Exploit ScenarioDerived

An authenticated user with valid credentials sends a crafted HTTP request to the update_sql endpoint with malicious SQL injection payloads embedded in the parameters. The endpoint processes the input without proper sanitization and directly constructs a SQL query, allowing the attacker to execute arbitrary SQL commands such as extracting sensitive data, modifying database records, or executing administrative functions. With the public proof-of-concept available on GitHub, an attacker can easily replicate the attack against any unpatched vanna-ai instance accessible over the network.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 16, 2026

SQL injection in Vanna up to version 2.0.2 allows authenticated remote attackers to execute arbitrary SQL queries through the update_sql endpoint function. Public exploit code exists for this vulnerability, and the vendor has not released a patch despite early notification. An authenticated attacker can leverage this to read, modify, or delete database contents depending on the application's database permissions.

Earlier versions of this analysis (1)
v1 Mar 16, 2026 - 09:00 CVSS 6.3

A SQL injection vulnerability exists in the update_sql endpoint function within vanna-ai/vanna versions up to 2.0.2, allowing authenticated attackers to inject arbitrary SQL commands with remote network access. An attacker with valid credentials can manipulate the endpoint to execute unauthorized database queries, potentially leading to unauthorized data access, modification, or denial of service. A public proof-of-concept has been disclosed and is actively available, increasing the real-world exploit risk despite the vendor's lack of response to early disclosure.

RemediationAI

Upgrade vanna-ai vanna to a version released after 2.0.2 that includes SQL injection remediation (vendor should be contacted directly for patched version availability given the lack of previous communication). If an immediate upgrade is not feasible, implement input validation and parameterized queries at the application level, restrict network access to the Flask endpoint to trusted IP ranges or VPN-only connections, enforce authentication token rotation, and disable the legacy Flask endpoint if not in active use. Monitor database query logs and application audit trails for suspicious SQL patterns. Contact vanna-ai directly through GitHub or their official support channel to obtain security patch information. References: https://gist.github.com/YLChen-007/48b86c2365e5ebf6923d5f14491b4329 (public POC), https://vuldb.com/?id.351153 (VulDB entry).

Affected VersionsENISA

vanna 2.0.0
vanna 2.0.2
vanna 2.0.1

Affected Packages

euvd vanna no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the legacy Flask application component (src/vanna/legacy/flask/__init__.py) of vanna-ai/vanna, a Python-based SQL generation and querying framework. The root cause is classified as CWE-89 (SQL Injection), where user-supplied input to the update_sql endpoint function is not properly sanitized or parameterized before being incorporated into SQL queries. The affected CPE is cpe:2.3:a:vanna-ai:vanna:*:*:*:*:*:*:*:*, indicating all versions up to 2.0.2 are vulnerable. The Flask web framework serves as the attack surface, with the endpoint directly exposing the injection vector to authenticated users over HTTP/HTTPS.

Know when Vanna gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVSS changed
Apr 22, 2026 - 21:37 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
PoC Detected
Mar 16, 2026 - 14:53 vuln.today
Public exploit code
CVE Published
Mar 16, 2026 - 08:32 nvd
MEDIUM 6.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using vanna-ai vanna should be aware of moderate risk from CVE-2026-4230, a SQL injection vulnerability rated CVSS 6.3. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Related Vulnerabilities in vanna-ai vanna SQL Injection Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy