CVE-2026-4511 vanna-ai vanna legacy exec injection
Remote attackers can execute arbitrary code via injection in the legacy exec function of the vanna-ai library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4511?
CVE-2026-4511 is a medium-severity code injection vulnerability in vanna-ai vanna, published on 21 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security vulnerability has been detected in vanna-ai vanna up to 2.0.2. Affected is the function exec of the file /src/vanna/legacy. Such manipulation leads to injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-4511?
How do I fix CVE-2026-4511?
No fix has been published for CVE-2026-4511 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-4511 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4511 exists.
Sources
Also known as GHSA-7ggr-c9vj-59r7.