Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
vanna-ai vanna
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vanna是Vanna公司的一个个性化 AI SQL 代理。 Vanna 2.0.2及之前版本存在SQL注入漏洞,该漏洞源于对组件Endpoint的文件src/vanna/legacy/flask/__init__.py中函数update_sql的操作不当,可能导致SQL注入攻击。

CVSS 6.3 · Medium EPSS 0.32% · P22

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-4230

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
vanna-ai vanna Endpoint __init__.py update_sql sql injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Vanna SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vanna是Vanna公司的一个个性化 AI SQL 代理。 Vanna 2.0.2及之前版本存在SQL注入漏洞,该漏洞源于对组件Endpoint的文件src/vanna/legacy/flask/__init__.py中函数update_sql的操作不当,可能导致SQL注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vanna-ai vanna 2.0.0 -

II. Public POCs for CVE-2026-4230

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-4230

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-4230 (2)

Proof of Concept for CVE-2026-4230 (1)

Same Patch Batch · vanna-ai · 2026-03-16 · 3 CVEs total

CVE-2026-4229 7.3 HIGH vanna-ai vanna bigquery_vector.py remove_training_data sql injection
CVE-2026-4231 7.3 HIGH vanna-ai vanna Endpoint __init__.py run_sql server-side request forgery

IV. Related Vulnerabilities

V. Comments for CVE-2026-4230

No comments yet


Leave a comment