CVE-2024-5565

Prompt Injection in "ask" API with visualization leads to RCE

Published May 31, 2024 CVSS 3.1 · 8.1 High EPSS 15.2% KEV · Not listed
Description
The Vanna library uses a prompt function to present the user with visualized results, it is possible to alter the prompt using prompt injection and run arbitrary Python code instead of the intended visualization code. Specifically - allowing external input to the library’s “ask” method with "visualize" set to True (default behavior) leads to remote code execution.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1479 The Vanna library uses a prompt function to present the user with visualized results, it is possible to alter the prompt using prompt injection and run arbitrary Python code instead of the intended visualization code. Specifically - allowing external input to the library’s “ask” method with "visualize" set to True (default behavior) leads to remote code execution.
Github GHSA Github GHSA GHSA-7735-w2jp-gvg6 Vanna prompt injection code execution
History
Type Values Removed Values Added
Metrics epss

{'score': 0.05164}

epss

{'score': 0.03973}

Type Values Removed Values Added
First Time appeared Vanna-ai
Vanna-ai vanna
CPEs cpe:2.3:a:vanna-ai:vanna:-:*:*:*:*:*:*:*
Vendors & Products Vanna-ai
Vanna-ai vanna
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Nov 25, 2024, 12:52 PM
Reserved
May 31, 2024, 1:56 PM
Status
Deferred
Published
May 31, 2024, 3:15 PM
Modified
Jun 17, 2026, 8:16 AM