CVE-2024-5565
published high CVSS 3.1 · 8.1Prompt Injection in "ask" API with visualization leads to RCE
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vanna | 0 (affected · python)Default: affected | JFROG · cna | |
| vanna-ai | vanna | - (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
3JFROG · cna
Prompt Injection in "ask" API with visualization leads to RCE
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- df0ed4406f87f7bbde6c31e7b7f18e81f06267c0df912d5deb5cac06d45fc3b9
- Ingested
- 23 Sep 2026, 08:32:47 UTC
- Source record
- Official CVE record