CVE-2024-5565

CVE-2024-5565

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.150 (96.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-5565?
CVE-2024-5565 is a high-severity vulnerability, classified under Code Injection. CVSS score: 8.1/10. Published 2024-05-31.
How severe is CVE-2024-5565?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2024-5565 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.