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

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

7
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
EUVD ID Assigned
Mar 21, 2026 - 10:15 euvd
EUVD-2026-14246
Analysis Generated
Mar 21, 2026 - 10:15 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

CVE-2026-4513 vulnerability details – vuln.today

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