ADVISORIES

Vulnerability

CVE-2024-5565

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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories

  • GHSA-7735-w2jp-gvg6

    Vanna prompt injection code execution

    Critical CVE-2024-5565 PyPI Updated 29 June 2026
  • PYSEC-2026-561

    Vanna prompt injection code execution

    CVE-2024-5565 PyPI Updated 1 July 2026

References