Advisory

GHSA-7735-w2jp-gvg6

Also known as: CVE-2024-5565, PYSEC-2026-561

Summary

Vanna prompt injection code execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-05-31 15:30 UTC
Modified
2026-06-29 12:26 UTC

Affected packages and fixes

vanna

PyPI · All systems

Affected

  • introduced 0, last affected 0.5.5 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences