CVE-2026-51911

Code injection vulnerability in VannaBase.get_plotly_figure allowing remote code execution

Published Oct 2, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.1% KEV · Not listed
Description
vanna v2.0.2 contains a code injection vulnerability in VannaBase.get_plotly_figure (src/vanna/legacy/base/base.py). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Code injection vulnerability in VannaBase.get_plotly_figure allowing remote code execution
Type Values Removed Values Added
Title Code Injection Vulnerability in Vanna Base's Plotly Figure Generation Enabling Remote Code Execution
Weaknesses CWE-77
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vanna-ai
Vanna-ai vanna
Vendors & Products Vanna-ai
Vanna-ai vanna
Type Values Removed Values Added
Title Code Injection Vulnerability in Vanna Base's Plotly Figure Generation Enabling Remote Code Execution
Weaknesses CWE-77
CWE-94
Type Values Removed Values Added
Description vanna v2.0.2 contains a code injection vulnerability in VannaBase.get_plotly_figure (src/vanna/legacy/base/base.py). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 5, 2026, 6:43 PM
Reserved
Jun 8, 2026, 12:00 AM
Status
Deferred
Published
Oct 2, 2026, 4:16 PM
Modified
Oct 5, 2026, 7:17 PM