CVSS3
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
Low
EPSS
Percentile
9.0%
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.
[
{
"collectionURL": "https://pypi.org/project/pip",
"defaultStatus": "affected",
"packageName": "vanna",
"versions": [
{
"status": "affected",
"version": "0",
"versionType": "python"
}
]
}
]