CVE-2026-4230 vanna-ai vanna Endpoint __init__.py update_sql sql injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary SQL commands via the update_sql function in the vanna-ai library, potentially reading or modifying database contents.

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-4230?

CVE-2026-4230 is a medium-severity SQL injection vulnerability in vanna-ai vanna, published on 16 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in vanna-ai vanna up to 2.0.2. Affected is the function update_sql of the file src/vanna/legacy/flask/__init__.py of the component Endpoint. Such manipulation leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-4230?

How do I fix CVE-2026-4230?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-4230 being exploited?

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

Sources

Also known as GHSA-vrff-438g-6h73.

Is CVE-2026-4230 in your software?

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

Check your SBOMs for free