Skip to main content

Vanna CVE-2026-4513

| EUVDEUVD-2026-14246 LOW
SQL Injection (CWE-89)
2026-03-21 VulDB GHSA-jvhj-49gh-v77p
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

This vulnerability presents moderate-to-high real-world risk despite the 6.3 CVSS score, which reflects a Medium severity rating. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) indicates network-accessible attack surface with low attack complexity and requirement for low privileges (authenticated user), making exploitation straightforward once an attacker gains basic access. The presence of a public, actively exploitable proof-of-concept (noted in exploit evidence status as E:P) significantly increases real-world exploitation probability. The RL:X (Release Level Unknown) and RC:R (Reasonable Confidence) vectors indicate incomplete patch information and reasonably confident vulnerability confirmation. Organizations should treat this as high priority because: (1) public exploits are available reducing barrier to attack, (2) authentication bypass is not required—only valid credentials, (3) SQL injection enables data exfiltration and potential lateral movement, and (4) vendor non-responsiveness means no official patch timeline exists.

Exploit ScenarioDerived

An authenticated user with credentials to a vanna deployment crafts a natural language query containing SQL injection payloads—for example, a query designed to extract sensitive data from backend databases or execute administrative commands. Since the ask function lacks input sanitization, the injected SQL is executed directly against the connected database backend. With low attack complexity and no user interaction required, an attacker can chain multiple queries to exfiltrate data, modify records, or potentially escalate privileges within the database system, all while leaving audit trails that appear to be legitimate application queries.

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 21, 2026

SQL injection in vanna-ai vanna versions up to 2.0.2 allows authenticated remote attackers to manipulate the ask function in vanna/legacy/base/base.py, potentially enabling data exfiltration or modification. Public exploit code exists for this vulnerability, and no patch is currently available from the vendor despite early notification.

Earlier versions of this analysis (1)
v1 Mar 21, 2026 - 10:15 CVSS 6.3

A SQL injection vulnerability exists in vanna-ai vanna versions up to 2.0.2, specifically within the ask function of vanna/legacy/base/base.py, allowing authenticated attackers to manipulate database queries remotely. An attacker with valid credentials can inject arbitrary SQL commands to read, modify, or delete database contents. A public proof-of-concept exploit is available, and the vendor has not responded to early disclosure notification, making this an active risk for organizations using affected versions.

RemediationAI

Immediately upgrade vanna-ai vanna to version 2.0.3 or later if available from the project repository or PyPI package index; however, verify patch status given vendor non-responsiveness. If a patched version is unavailable, implement strict input validation and parameterized query enforcement at the application code level by modifying the ask function to use SQL parameterized queries (prepared statements) rather than string concatenation. As an interim control, restrict network access to vanna deployments using firewall rules and network segmentation to limit exposure to trusted internal networks only, and enforce strict role-based access controls to ensure only necessary users have credentials to authenticate to the system. Monitor the official vanna-ai GitHub repository and release notes for security updates, and consider forking the project to apply your own patches if vendor updates are not forthcoming.

Affected VersionsENISA

vanna 2.0.2
vanna 2.0.1
vanna 2.0.0

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

Vanna-ai vanna is a text-to-SQL AI framework (identified by CPE cpe:2.3:a:vanna-ai:vanna:*:*:*:*:*:*:*:*) that translates natural language queries into SQL statements. The vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), indicating that user input passed to the ask function is not properly sanitized or parameterized before being incorporated into SQL queries. This is a fundamental input validation flaw where the application concatenates or interpolates user-controlled data directly into SQL statements without using prepared statements or parameterized queries.

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 24, 2026 - 16:37 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
PoC Detected
Mar 23, 2026 - 14:31 vuln.today
Public exploit code
CVE Published
Mar 21, 2026 - 10:02 nvd
MEDIUM 6.3

DescriptionCVE.org

A vulnerability was detected in vanna-ai vanna up to 2.0.2. Affected by this vulnerability is the function ask of the file vanna\legacy\base\base.py. Performing a manipulation results in sql injection. The attack is possible to be carried out remotely. The exploit is now 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-4513, 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
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

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 and Code Injection

View all 2

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