VULNERABILITY INTELLIGENCE
CVE-2024-5565
CVSS score8.1 HIGH
EPSS probability15.18%
CISA KEVNot currently listed
Published2024-05-31
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- reefs@jfrog.com: CWE-94
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-94