Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated Vanna chat API
-
DeliveryCraft conversation_id with ../ sequences
-
ExploitEscape FileSystemConversationStore base directory
-
ExecutionWrite attacker-controlled JSON to arbitrary path
-
PersistRead/plant sensitive or executable files
-
ImpactAchieve code execution or data disclosure
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target run Vanna (through 2.0.2) configured with the FileSystemConversationStore persistence integration and expose the chat API endpoints to the attacker; the attacker supplies path traversal sequences in the conversation_id parameter to escape the store base directory on write and read. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N) no authentication or user interaction is required against a reachable endpoint, so the main limiting factors are deployment-specific: the FileSystemConversationStore backend must be in use, the chat API must be network-reachable by the attacker, and the impact of arbitrary writes is bounded by the OS privileges of the Vanna process and which paths are writable/served. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L, score 8.8) indicates a network-reachable, low-complexity, unauthenticated attack with high integrity impact (arbitrary write) and lower confidentiality/availability impact - consistent with the description of unauthenticated write-anywhere plus limited read. Real-world risk is elevated by publicly available exploit code and VulnCheck attribution, though there is no CISA KEV listing and no EPSS score was supplied, so widespread active exploitation is not confirmed; treat this as POC-available rather than in-the-wild. The primary limiting factor on real-world impact is deployment footprint: Vanna is typically self-hosted for internal analytics rather than exposed as a hardened internet-facing service, so the practical priority hinges on whether an organization exposes the unauthenticated chat API to untrusted networks - where it is exposed, the unauthenticated arbitrary file write makes this a genuine high priority rather than a high-CVSS-but-low-real-risk issue. |
| Exploit ScenarioDerived | An attacker locates an internet- or intranet-exposed Vanna instance using FileSystemConversationStore and sends an unauthenticated chat API request with a conversation_id containing '../' traversal sequences, causing the server to write an attacker-controlled JSON file to a location outside the store - for example a startup script, cron directory, or web-served path - potentially leading to code execution or persistence. The same technique with a crafted conversation_id lets the attacker read conversation metadata files from outside the base directory. Publicly available exploit code lowers the barrier to executing this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Arbitrary file write and unauthorized file read in Vanna (the open-source AI SQL agent) through version 2.0.2 allows unauthenticated remote attackers to escape the FileSystemConversationStore base directory by injecting path traversal sequences into the conversation_id parameter of the chat API. Because the affected endpoints require no authentication, an attacker can write attacker-controlled JSON to arbitrary filesystem locations and read conversation metadata from outside the intended store - publicly available exploit code exists and the flaw was reported by VulnCheck. No CISA KEV listing is present, so there is no public exploit identified as being actively used in the wild.
RemediationAI
No vendor-released patch version is identified in the available data, so upgrade to a fixed release once the Vanna maintainers publish one and monitor the VulnCheck advisory (https://www.vulncheck.com/advisories/vanna-path-traversal-via-filesystemconversationstore) for the corrected version. As compensating controls, avoid exposing the chat API to untrusted networks by placing it behind authentication and a reverse proxy or network ACLs; if authentication cannot be added, restrict access to the chat endpoints at the perimeter. Where feasible, switch away from FileSystemConversationStore to a non-filesystem conversation store to remove the file-path sink entirely, or run the service as an unprivileged user in a container/chroot with a read-only filesystem outside the store directory so traversal cannot reach sensitive paths - the trade-off is that hardening the runtime does not stop writes within the writable store and may require operational changes. Validate and canonicalize conversation_id server-side (reject any value containing path separators or traversal sequences) if you maintain a local fork.
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 retrieval-augmented framework that lets users ask natural-language questions and generates SQL against a database, exposing a chat/conversation API. The vulnerable component is the FileSystemConversationStore persistence integration, which serializes conversation state to JSON files on disk under a configured base directory. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal): the conversation_id supplied by the client is used to construct the on-disk file path without canonicalization or containment validation, so sequences such as '../' let the resolved path escape the store base directory during both write (save) and read (load) operations. The affected product is identified by CPE cpe:2.3:a:vanna-ai:vanna:*:*:*:*:*:*:*:* for all versions up to and including 2.0.2.
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:H/VA:L/SC:N/SI:N/SA:N
Unauthenticated network endpoint (AV:N/AC:L/PR:N/UI:N); arbitrary file write drives I:H, limited metadata read gives C:L, and write-induced disruption A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Vanna through 2.0.2 contains a path traversal vulnerability in the FileSystemConversationStore persistence integration that allows unauthenticated remote attackers to write attacker-controlled JSON files to arbitrary filesystem locations and read conversation metadata from outside the intended store base directory. Attackers can supply path traversal sequences in the conversation_id parameter submitted to the unauthenticated chat API endpoints to escape the base directory during both write and read operations, enabling arbitrary file write with attacker-controlled content and unauthorized file read on the server filesystem.
Executive ViewAI
Vanna (open-source AI SQL agent) versions through 2.0.2 contain a critical path traversal vulnerability allowing unauthenticated attackers to read and write arbitrary files on deployed systems. Organizations using Vanna in production face immediate risk of data exfiltration and system compromise; publicly available exploit code exists and no vendor patch has been released. This vulnerability requires urgent remediation and represents a material risk to any deployment handling sensitive SQL or database interactions.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable FileSystemConversationStore and switch to an alternative backend with native access controls; (2) Containerize Vanna with read-only root filesystem and explicit, restricted volume mounts; (3) Deploy network segmentation and API gateway controls limiting access to internal trusted clients only; (4) Implement input validation and rate limiting on conversation_id parameters; (5) Enable comprehensive logging and real-time alerting on filesystem access anomalies and API exploitation patterns.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Missing authentication in vanna-ai vanna Chat API endpoint (/api/vanna/v2/) allows unauthenticated remote attackers to p
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
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-48335
GHSA-xxc9-8wc2-p57g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB