CVE-2024-5565

published 31 May 2024 · updated 25 Nov 2024

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

8.6HighCVSS 8.1EPSS 15%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 15%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5565 severity on Zeptric[![CVE-2024-5565](https://zeptric.io/badge/cve/CVE-2024-5565.svg)](https://zeptric.io/cve/CVE-2024-5565)