Skip to main content

Vanna EUVDEUVD-2026-12376

| CVE-2026-4231 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-16 VulDB
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Send crafted request to update_sql endpoint
  2. Exploit
    Inject malicious URL parameter
  3. Execution
    Trigger server-side HTTP request
  4. Impact
    Access internal resources or services

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

vanna-ai vanna versions up to 2.0.2 with Flask endpoint enabled. No authentication required. Attacker must reach the vulnerable update_sql/run_sql endpoint at src/vanna/legacy/flask/__init__.py.

Impact

The CVSS 3.1 score of 7.3 indicates high severity with network-based attack vector (AV:N), low complexity (AC:L), and no privileges required (PR:N), making this easily exploitable by remote attackers. The availability of a public proof-of-concept exploit significantly elevates the real-world risk, as demonstrated by the exploit status indicator (E:P) in the CVSS vector. While not currently in CISA's KEV catalog, the combination of remote exploitability, public POC availability, and the vendor's lack of response despite early notification creates a concerning risk profile. The impact spans confidentiality, integrity, and availability (all rated Low), suggesting attackers could read sensitive data, modify requests, or cause service disruptions.

Exploit ScenarioDerived

An attacker could send a crafted request to the vulnerable Flask endpoint containing a malicious URL in parameters processed by update_sql or run_sql functions, causing the server to make requests to internal services like cloud metadata endpoints (169.254.169.254) or internal databases. Given the low attack complexity and availability of a public proof-of-concept, this attack could be easily automated to scan for and exploit vulnerable instances across the internet. The attacker requires no authentication, making any internet-exposed instance of the affected versions immediately vulnerable to reconnaissance and data exfiltration attempts.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 16, 2026

Server-side request forgery in Vanna AI versions up to 2.0.2 allows unauthenticated remote attackers to manipulate the update_sql and run_sql endpoints in the Flask component. Public exploit code exists for this vulnerability, and no patch is currently available from the vendor despite early notification.

Earlier versions of this analysis (1)
v1 Mar 16, 2026 - 10:00 CVSS 7.3

A server-side request forgery (SSRF) vulnerability exists in the vanna-ai vanna library through version 2.0.2, specifically in the update_sql and run_sql functions within the Flask endpoint component. This vulnerability allows remote attackers without authentication to manipulate internal requests, potentially accessing internal resources, exfiltrating data, or pivoting to internal systems. A public proof-of-concept exploit is available, though the vulnerability is not currently listed in CISA's KEV catalog.

RemediationAI

No official patch is currently available as the vendor has not responded to the disclosure. Organizations using vanna versions 2.0.2 or earlier should immediately consider migrating to alternative solutions or implementing compensating controls. As a temporary mitigation, restrict network access to the affected Flask endpoints through firewall rules or reverse proxy configurations, implement strict input validation for any data passed to update_sql/run_sql functions, and monitor for suspicious outbound requests from the application server. Review the public exploit at https://gist.github.com/YLChen-007/574542015755951ee1d53206022cc754 to understand attack patterns for detection purposes.

Affected VersionsENISA

vanna 2.0.1
vanna 2.0.2
vanna 2.0.0

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

The vulnerability affects vanna-ai's vanna library, a Python-based tool for natural language to SQL generation, specifically in versions up to and including 2.0.2 as identified by CPE cpe:2.3:a:vanna-ai:vanna:*:*:*:*:*:*:*:*. The flaw resides in the src/vanna/legacy/flask/__init__.py file where the update_sql and run_sql endpoint functions fail to properly validate and sanitize user-supplied input before using it to make server-side requests. This is a classic CWE-918 (Server-Side Request Forgery) vulnerability where attackers can coerce the application to make arbitrary HTTP requests to internal or external systems on their behalf.

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

NVD PRIMARY 5.5 MEDIUM
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

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

Lifecycle Timeline

5
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
Severity Changed
Apr 22, 2026 - 21:37 NVD
HIGH MEDIUM
CVSS changed
Apr 22, 2026 - 21:37 NVD
7.3 (HIGH) 6.9 (MEDIUM)
PoC Detected
Mar 16, 2026 - 14:53 vuln.today
Public exploit code
CVE Published
Mar 16, 2026 - 09:02 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in vanna-ai vanna up to 2.0.2. Affected by this vulnerability is the function update_sql/run_sql of the file src/vanna/legacy/flask/__init__.py of the component Endpoint. Performing a manipulation results in server-side request forgery. The attack may be initiated remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Executive ViewAI

Why It Matters

A critical server-side request forgery vulnerability in the vanna-ai library (versions through 2.0.2) allows unauthenticated attackers to access internal resources and sensitive data. Organizations using this library in production environments face immediate risk of data exfiltration and lateral movement into internal systems, with active exploit code publicly available.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to block requests containing internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1) and localhost references. Restrict network-level egress from application servers to only required external destinations. Disable or isolate the update_sql and run_sql Flask endpoints until patched. Enforce network segmentation to limit attacker lateral movement. Implement request rate limiting and IP-based access controls. Deploy runtime application self-protection (RASP) to monitor for SSRF attack patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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