CVE-2024-5565 HIGH

CVE-2024-5565: Prompt Injection in "ask" API with visualization leads to RCE

Weakness CWE-94 · Code injection
Published May 31, 2024
Last update November 25, 2024

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 31, 2024 CVE published
November 25, 2024 Record updated

Related vulnerabilities

04Related CVE