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.
Published: 2026-10-02
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Vanna 2.0.2 contains a code injection flaw in the VannaBase.get_plotly_figure method. The vulnerability allows an attacker to insert arbitrary code or system commands through the exposed entry parameter, enabling execution of code on the host running the Vanna service.

Affected Systems

Any deployment of vanna 2.0.2 that exposes the get_plotly_figure functionality to external input is vulnerable. No vendor or product cpes are listed, but the flaw exists in the Python package and would affect any web or API service that incorporates it.

Risk and Exploitability

The flaw carries a high potential impact, as it can lead to full code execution. The CVSS score of 9.8 indicates critical severity. The EPSS score is < 1%, suggesting low likelihood of exploitation. The vulnerability is not listed in CISA KEV catalog, so no documented exploitation activity is available. The likely attack vector is remote, via crafted input to an exposed API or user interface, and exploitation requires the attacker to control the entry parameter.

Generated by OpenCVE AI on October 5, 2026 at 22:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest vanna release that resolves the code injection vulnerability.
  • Ensure that all parameters passed to VannaBase.get_plotly_figure are strictly validated or sanitized, rejecting non‑trusted input.
  • Restrict access to the service or interface that exposes get_plotly_figure, allowing only trusted users or internal networks.

Generated by OpenCVE AI on October 5, 2026 at 22:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 05 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Title Code injection vulnerability in VannaBase.get_plotly_figure allowing remote code execution

Mon, 05 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Title Code Injection Vulnerability in Vanna Base's Plotly Figure Generation Enabling Remote Code Execution
Weaknesses CWE-77

Mon, 05 Oct 2026 19:30:00 +0000

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'}


Fri, 02 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Vanna-ai
Vanna-ai vanna
Vendors & Products Vanna-ai
Vanna-ai vanna

Fri, 02 Oct 2026 18:00:00 +0000

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

Fri, 02 Oct 2026 16:00:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-05T18:43:09.415Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-51911

cve-icon Vulnrichment

Updated: 2026-10-05T18:42:55.364Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T16:16:50.430

Modified: 2026-10-05T19:17:23.060

Link: CVE-2026-51911

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T22:30:19Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')