Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed Vanna Flask API
-
DeliverySend crafted unauthenticated HTTP request
-
ExploitBypass authorization checks
-
ExecutionExecute unauthorized API operations
-
ImpactExfiltrate training data or modify configs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Legacy Flask API component to be enabled and network-accessible in Vanna installations through version 2.0.2. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms no special conditions-remote unauthenticated attackers can exploit default configurations without user interaction or privileged access. Organizations that have disabled the Legacy Flask API in favor of newer API interfaces, or have restricted Flask endpoints to localhost-only access via configuration binding to 127.0.0.1, are not exploitable remotely. Authentication mechanisms external to Vanna (such as reverse proxy authentication or network ACLs) limit but do not eliminate risk if the underlying vulnerable code remains reachable through misconfigurations or internal threats. |
| Impact | Real-world risk is HIGH based on converging threat signals. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N indicates remote unauthenticated exploitation with low attack complexity, maximizing attacker accessibility. The E:P modifier confirms proof-of-concept code exists, substantially lowering the skill barrier for exploitation. The publicly disclosed GitHub issue provides attackers with ready-made attack methodology. However, CISA KEV status is absent, suggesting exploitation is not yet widespread in the wild. The RL:X modifier indicates vendor has not released an official patch despite early disclosure, leaving users vulnerable indefinitely. Impact spans confidentiality, integrity, and availability (C:L/I:L/A:L), enabling data theft, unauthorized modification of Vanna configurations, and potential service disruption. Primary risk factors: internet-facing Flask APIs in AI/ML pipelines, unauthenticated attack surface, and vendor non-responsiveness. This is a patch-now priority for organizations running Vanna in production, particularly where the Flask API is network-accessible. |
| Exploit ScenarioDerived | An external attacker identifies a Vanna AI instance with the Legacy Flask API exposed on the internet, discoverable via Shodan or direct port scanning. The attacker references the public proof-of-concept at https://github.com/yidaozhongqing/York/issues/2 to craft malicious HTTP requests targeting authorization-bypass endpoints. Without requiring credentials, the attacker issues unauthorized API calls to extract sensitive SQL query templates stored in Vanna's training data, modify database connection configurations to redirect queries to attacker-controlled databases, or disrupt service availability by exhausting API resources, achieving confidentiality, integrity, and availability compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 25, 2026
Improper authorization in Vanna AI's Legacy Flask API allows remote unauthenticated attackers to bypass authentication controls and gain unauthorized access. Affects Vanna versions up to 2.0.2. A publicly available proof-of-concept exploit has been disclosed on GitHub, though vendor has not responded to disclosure. CVSS 7.3 severity reflects network-accessible attack with low complexity requiring no privileges or user interaction, enabling confidentiality, integrity, and availability impacts.
RemediationAI
Upstream fix version not independently confirmed at time of analysis. The vendor has not responded to vulnerability disclosure or released a patched version for versions up to 2.0.2. Organizations should immediately implement compensating controls: Disable or restrict network access to the Legacy Flask API endpoints using firewall rules or API gateway policies, limiting exposure to trusted internal networks only. Deploy authentication proxy (such as nginx with HTTP basic auth or OAuth2 proxy) in front of Vanna Flask endpoints to enforce authentication before requests reach the vulnerable component, though this adds latency and operational complexity. Monitor Vanna GitHub repository and PyPI releases for version 2.0.3 or later containing authorization fixes. Subscribe to VulDB advisory https://vuldb.com/vuln/359520 for patch notifications. Consider migrating to alternative text-to-SQL frameworks with active security maintenance if vendor responsiveness does not improve within your organization's risk tolerance window.
Affected VersionsENISA
Affected Packages
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 is a Python-based AI framework for text-to-SQL generation, providing a Flask API for interaction. The Legacy Flask API component contains an improper authorization vulnerability (CWE-285), a class of security weakness where the software does not properly perform access control checks, allowing actors to obtain unintended access to resources or functionality. The CPE identifier cpe:2.3:a:vanna-ai:vanna targets the vanna-ai product namespace. The vulnerability exists in legacy API endpoints that likely fail to validate authorization tokens or session credentials before processing requests, enabling unauthorized API operations against the Vanna service.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
Lifecycle Timeline
5DescriptionCVE.org
A security vulnerability has been detected in vanna-ai vanna up to 2.0.2. The affected element is an unknown function of the component Legacy Flask API. The manipulation leads to improper authorization. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Vanna AI versions up to 2.0.2 contain an authentication bypass vulnerability in the Legacy Flask API that allows unauthenticated remote attackers to access sensitive data and modify system configurations without credentials. Organizations using Vanna for data analysis or business intelligence face immediate risk of unauthorized data exfiltration and system compromise, with exploit code publicly available and actively being refined by threat actors.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict network access to Legacy Flask API endpoints using firewall rules or security groups limited to trusted internal IPs; (2) Deploy a reverse proxy or API gateway with authentication enforcement (API keys, mTLS, or OAuth2) in front of Vanna; (3) Implement network segmentation to isolate Vanna instances; (4) Enable comprehensive API audit logging and real-time alerting for unauthorized access attempts; (5) Consider temporary use of alternative data query tools until patched version is available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Arbitrary file write and unauthorized file read in Vanna (the open-source AI SQL agent) through version 2.0.2 allows una
Missing authentication in vanna-ai vanna Chat API endpoint (/api/vanna/v2/) allows unauthenticated remote attackers to p
Server-side request forgery in Vanna AI versions up to 2.0.2 allows unauthenticated remote attackers to manipulate the u
SQL injection in Vanna AI's BigQuery integration (versions up to 2.0.2) allows unauthenticated remote attackers to manip
A code injection vulnerability exists in vanna-ai vanna up to version 2.0.2, specifically in the exec function of the /s
SQL injection in vanna-ai vanna versions up to 2.0.2 allows authenticated remote attackers to manipulate the ask functio
SQL injection in Vanna up to version 2.0.2 allows authenticated remote attackers to execute arbitrary SQL queries throug
Cross-Origin Resource Sharing (CORS) misconfiguration in vanna-ai vanna up to version 2.0.2 allows authenticated remote
Deserialization vulnerability in vanna 2.0.0, 2.0.1 and 2.0.2 allows a locally-positioned attacker with low-level privil
EUVD-2026-25653
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB