Skip to content
HighVulnerabilityLLM-specific

CVE-2024-5565: Vanna prompt injection leads to remote code execution via ask method

Identifier
CVE-2024-5565
Published
Record updated
View JSON
Affected
  • vanna <= 0.5.5
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
15.2%

Summary

CVE-2024-5565 affects the Vanna library, which uses a prompt function to show users visualized results. Prompt injection can alter that prompt, causing arbitrary Python code to run in place of the intended visualization code. The flaw is reached through external input to the library's "ask" method when "visualize" is set to True, the default behavior, and leads to remote code execution. NVD has not yet provided an assessment.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.