Skip to main content

Vanna EUVDEUVD-2026-48335

| CVE-2026-65702 HIGH
Path Traversal (CWE-22)
2026-07-23 VulnCheck GHSA-xxc9-8wc2-p57g
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated Vanna chat API
  2. Delivery
    Craft conversation_id with ../ sequences
  3. Exploit
    Escape FileSystemConversationStore base directory
  4. Execution
    Write attacker-controlled JSON to arbitrary path
  5. Persist
    Read/plant sensitive or executable files
  6. Impact
    Achieve 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.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

vanna 0 ≤2.0.2

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 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

Vendor (VulnCheck) PRIMARY 8.8 HIGH
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
vuln.today AI 8.6 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche open-source AI SQL agent, limited self-hosted production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Vanna

View all

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