Vulnerability · Published Mar 16, 2026 · Assigned by VulDB
CVE-2026-4231vanna-ai vanna Endpoint __init__.py run_sql server-side request forgery
High 7.3
In plain English
A high-severity server-side request forgery in vanna from vanna-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).
Official description
A vulnerability was found in vanna-ai vanna up to 2.0.2. Affected by this vulnerability is the function update_sql/run_sql of the file src/vanna/legacy/flask/__init__.py of the component Endpoint. Performing a manipulation results in server-side request forgery. The attack may be initiated remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-351154 | vanna-ai vanna Endpoint __init__.py run_sql server-side request forgery vdb-entry, technical-description
- VDB-351154 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #771217 | vanna-ai Vanna 2.0.2 Server-Side Request Forgery (CWE-918) third-party-advisory
- https://gist.github.com/YLChen-007/574542015755951ee1d53206022cc754 exploit