CVE-2026-51911 Code injection in n/a

Critical 9.8 Published Updated

An attacker can execute arbitrary code or commands via the get_plotly_figure function in the vanna library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-51911?

CVE-2026-51911 is a critical code injection vulnerability in n/a, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-51911?

How do I fix CVE-2026-51911?

No fix has been published for CVE-2026-51911 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-51911 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-51911 exists.

Sources

Also known as GHSA-349g-39fc-mvhj.

Is CVE-2026-51911 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free