All reports
Critical

Vanna prompt injection code execution

Affected versions

Version ranges need review.

PyPIvanna
Affected versions
<= 0.5.5
Fixed version
Not reported
PyPIvanna
Affected versions
<=0.5.5
Fixed version
Not reported

Exploitation

CVE-2024-5565

Probability of exploitation in the next 30 days: 15.18%

FIRST EPSS · 2026-11-21

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.

Links