Skip to main content
VulnerabilityPublished

CVE-2026-4231: vanna · Server-Side Request Forgery

Affects vannaSource CVE Database V5

0
Compare

Public exploit available · CVSS 6.9 Medium.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
vanna-aivannaAffected
  • =2.0.0
  • =2.0.1
  • =2.0.2
Fixed in–
PyPIvanna-ai/vannapkg:pypi/vanna-ai/vannaOther threatsAffected
  • =2.0.0
  • =2.0.1
  • =2.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Given the lack of an official patch from the vendor, organizations should implement several specific mitigations: 1) Restrict network egress from servers running vanna-ai vanna to only trusted destinations, preventing SSRF exploitation from reaching internal or sensitive endpoints. 2) Employ web application firewalls (WAFs) with rules designed to detect and block SSRF attack patterns targeting the update_sql/run_sql endpoint. 3) Conduct thorough input validation and sanitization on any user-controllable inputs that interact with the vulnerable functions, if possible through custom code or proxy layers. 4) Monitor logs for unusual outbound requests originating from the vanna-ai server, especially those targeting internal IP ranges or metadata services. 5) Isolate the vanna-ai server within segmented network zones to limit the impact of any SSRF exploitation. 6) Consider deploying runtime application self-protection (RASP) solutions to detect and prevent SSRF attempts in real time. 7) Engage in active threat hunting for indicators of compromise related to SSRF exploitation attempts. 8) Plan for rapid patching or upgrade once the vendor releases a fix, and maintain communication channels with the vendor or community for updates. These steps go beyond generic advice by focusing on network-level controls, monitoring, and application-layer defenses tailored to the specific vulnerable component.

Description

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.

References

Community reviews

Loading reviews…