CVE-2024-5565vanna-ai vanna
High 8.1 No auth needed
Follow: this CVE · vanna-ai · vanna-ai vanna We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- May 31, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for vanna.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | vanna |
≤ 0.5.5 |
no fixed version | — |
| PyPI | vanna |
≤ 0.5.5 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-7735-w2jp-gvg6, PYSEC-2026-561). Check the version in your lockfile before upgrading.
Affected products
- vanna-ai · vanna
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.