CVE-2024-5565
HIGH 8.1CVSS 3.1Vanna prompt injection code execution
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.
- Published
- 31 May 2024
- Last modified
- 1 Jul 2026
- Assigned by
- reefs@jfrog.com
- NVD status
- Deferred
- Weakness
- CWE-77CWE-94
- Also known as
- GHSA-7735-w2jp-gvg6PYSEC-2026-561
- Sources
- NVDJSONOSV GHSA-7735-w2jp-gvg6JSONOSV PYSEC-2026-561JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | reefs@jfrog.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | vanna | <= 0.5.5 |
References
- https://research.jfrog.com/vulnerabilities/vanna-prompt-injection-rce-jfsa-2024-001034449/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-5565 · ADVISORY
- https://github.com/vanna-ai/vanna · PACKAGE
- https://pypi.org/project/vanna · PACKAGE
- https://github.com/advisories/GHSA-7735-w2jp-gvg6 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 31 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 May 2024)