CVE-2024-5565 - CVE House
Back to Database
Status published High CVE-2024-5565

Prompt Injection in "ask" API with visualization leads to RCE

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-5565

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Unknown
Vulnerable Versions:
0

Timeline

Official Publish: May 31st, 2024
Last Modified: November 25th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses (CWE)