Read the docs
TI-2024-05171 Aliases CVE-2024-5565GHSA-7735-w2jp-gvg6

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

Priority HIGH 70CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.15178 96th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—vannaall versions—No fix listedCNA
—vanna (PyPI)up to 0.5.5—No fix listedGHSA-7735-w2jp-gvg6
  • vanna Vendor— Affected all versions Fixed in — No fix listed CNA
  • vanna (PyPI) Vendor— Affected up to 0.5.5 Fixed in — No fix listed GHSA-7735-w2jp-gvg6

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:vanna-ai:vanna:-:*:*:*:*:*:*:*not specified by CISA-ADP——
  • cpe:2.3:a:vanna-ai:vanna:-:*:*:*:*:*:*:* Versions not specified by CISA-ADP — ·—

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-5565
  2. 2026-10-03 Alias added: GHSA-7735-w2jp-gvg6

References

Sources