CVE-2026-4230: vanna · SQL Injection
Affects vannaSource CVE Database V5
Public exploit available · CVSS 5.3 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 16 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vanna-aivanna | Affected
| Fixed in– |
PyPIvanna-ai/vannapkg:pypi/vanna-ai/vannaOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately audit and review all code related to the update_sql function and any other database interaction points for proper input validation and sanitization.
- Refactor vulnerable SQL queries to use parameterized statements or ORM-based query methods to prevent injection.
- Restrict network access to the vulnerable endpoint by implementing firewall rules, VPNs, or IP whitelisting to limit exposure.
- Deploy Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the affected endpoint.
- Monitor database logs and application logs for unusual query patterns or errors indicative of injection attempts.
- If possible, isolate the database with least privilege principles, ensuring the application account has minimal permissions.
- Engage with the vendor or community to obtain or develop patches and apply them promptly once available.
- Consider temporary mitigations such as disabling the vulnerable functionality if it is not critical to operations.
- Educate development teams on secure coding practices to prevent similar vulnerabilities in future releases.
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.