{"cve":"CVE-2024-5565","nvd":{"published":"2024-05-31T15:15:09.673","modified":"2026-06-17T08:16:12.200","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-94"],"references":["https://research.jfrog.com/vulnerabilities/vanna-prompt-injection-rce-jfsa-2024-001034449/","https://research.jfrog.com/vulnerabilities/vanna-prompt-injection-rce-jfsa-2024-001034449/"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:51:20.603330631+00:00"},"epss":{"cve":"CVE-2024-5565","score":0.15178,"percentile":0.96749,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7735-w2jp-gvg6","url":"https://osv.dev/vulnerability/GHSA-7735-w2jp-gvg6","summary":"Vanna prompt injection code execution","modified":"2026-06-29T12:26:29.706437394Z","packages":[{"ecosystem":"PyPI","name":"vanna","purl":"pkg:pypi/vanna","ranges":["<=0.5.5"],"fixed":[]}]},{"id":"PYSEC-2026-561","url":"https://osv.dev/vulnerability/PYSEC-2026-561","summary":"Vanna prompt injection code execution","modified":"2026-07-01T20:23:10.987905Z","packages":[{"ecosystem":"PyPI","name":"vanna","purl":"pkg:pypi/vanna","ranges":["<=0.5.5"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}