---
id: CVE-2026-51911
title: >-
  vanna v2.0.2 contains a code injection vulnerability in
  VannaBase.get_plotly_figure (src/vanna/legacy/base/base.py)
summary: >-
  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.
severity: none
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T16:16:50.430'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51911'
references:
  - url: 'https://gist.github.com/Ro1ME/a259be3574844bc705316295b2406da0'
    label: cve@mitre.org
  - url: 'https://github.com/vanna-ai/vanna'
    label: cve@mitre.org
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-02T16:22:59.533Z'
---

## Overview

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

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
