Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world risk is elevated due to converging threat signals. The CVSS base score of 7.3 (High) reflects a network-accessible vulnerability requiring no authentication (PR:N) with low attack complexity (AC:L), enabling trivial remote exploitation. Publicly available exploit code exists (confirmed via GitHub POC at August829/CVEP/issues/13), significantly lowering the barrier to exploitation. While not confirmed actively exploited per CISA KEV data, the combination of public POC availability, unauthenticated access, and vendor unresponsiveness creates an immediate exploitation window. The CVSS temporal metrics (E:P for Proof-of-concept code) and remediation level (RL:X indicating no official fix) compound risk. Impact spans confidentiality, integrity, and availability (C:L/I:L/A:L), suggesting attackers could read sensitive data, modify queries, or disrupt service. For organizations running vanna-ai in production environments with sensitive database access, this represents a critical priority requiring immediate compensating controls given the absence of vendor patch response. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies an internet-facing vanna-ai deployment through reconnaissance scanning for the /api/vanna/v2/ endpoint. Using the publicly available GitHub POC code (August829/CVEP/issues/13), the attacker crafts API requests to the Chat endpoint without providing credentials. The missing authentication control allows the attacker to submit natural language queries that vanna converts to SQL, potentially extracting sensitive database contents, modifying data through crafted queries, or overwhelming the service with resource-intensive requests. Given the low attack complexity (AC:L) and network accessibility (AV:N), exploitation requires minimal technical sophistication and can be automated for scanning multiple targets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Missing authentication in vanna-ai vanna Chat API endpoint (/api/vanna/v2/) allows unauthenticated remote attackers to perform unauthorized operations with low-complexity attacks. Affects vanna-ai vanna versions up to 2.0.2. Publicly available exploit code exists (GitHub POC published), increasing immediate exploitation risk. CVSS 7.3 reflects network-accessible attack vector with no authentication required and impacts to confidentiality, integrity, and availability. Vendor did not respond to early disclosure notification.
RemediationAI
No vendor-released patch identified at time of analysis, as the maintainer did not respond to responsible disclosure attempts. Immediate compensating controls are critical: implement network-layer authentication such as API gateway authentication, restrict access to the /api/vanna/v2/ endpoint using firewall rules or reverse proxy ACLs to trusted IP ranges only, deploy web application firewall (WAF) rules requiring valid authentication tokens before reaching the endpoint, or temporarily disable the Chat API endpoint if not business-critical. Monitor for unauthorized API access attempts through access logs and intrusion detection systems. Organizations should consider evaluating alternative SQL generation frameworks with active security maintenance. Reference VulDB entries for ongoing monitoring: https://vuldb.com/vuln/354652 and exploit documentation at https://github.com/August829/CVEP/issues/13. Subscribe to vanna-ai repository updates for potential future security patches.
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-ai vanna is an AI-powered SQL generation framework that allows users to query databases using natural language. This vulnerability (CWE-306: Missing Authentication for Critical Function) affects the Chat API endpoint at /api/vanna/v2/, a component that processes user interactions with the AI system. The flaw permits direct interaction with the API without credential verification, enabling unauthorized parties to leverage the framework's database querying capabilities. The affected CPE (cpe:2.3:a:vanna-ai:vanna) indicates all versions through 2.0.2 are vulnerable. The CVSS vector (AV:N/AC:L/PR:N) confirms network-accessible exploitation with low attack complexity and no privileges required, making this a straightforward authentication bypass vulnerability in a critical API component.
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
3DescriptionCVE.org
A vulnerability was detected in vanna-ai vanna up to 2.0.2. Affected by this vulnerability is an unknown functionality of the file /api/vanna/v2/ of the component Chat API Endpoint. Performing a manipulation results in missing authentication. The attack can be initiated 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
CVE-2026-5320 is a critical authentication bypass in vanna-ai Chat API (versions up to 2.0.2) that allows unauthenticated attackers to perform arbitrary operations remotely. Organizations running vanna-ai deployments face immediate risk of unauthorized data access, manipulation, and service disruption, with publicly available exploit code accelerating attack likelihood.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to vanna-ai API endpoints via firewall/network segmentation to trusted internal networks only; (2) Deploy API gateway or WAF in front of vanna-ai requiring mutual authentication (certificate pinning, API key validation); (3) Implement continuous monitoring and alerting on /api/vanna/v2/ endpoint traffic; (4) Disable vanna-ai services until patch available if data sensitivity is critical.
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.
Related Vulnerabilities in vanna-ai vanna API Security Flaws
View all 2Arbitrary file write and unauthorized file read in Vanna (the open-source AI SQL agent) through version 2.0.2 allows una
Improper authorization in Vanna AI's Legacy Flask API allows remote unauthenticated attackers to bypass authentication c
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
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-18120
GHSA-j638-g9qc-36f4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB