# CVE-2026-4231: vanna-ai vanna Endpoint __init__.py run_sql server-side request forgery

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T09:02:08.031Z
- Modified: 2026-06-17T10:56:16.317Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- vanna-ai vanna: 2.0.0; 2.0.1; 2.0.2

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.3 High `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`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://gist.github.com/YLChen-007/574542015755951ee1d53206022cc754> (exploit)
- <https://vuldb.com/?id.351154> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.351154> (permissions-required, signature)
- <https://vuldb.com/?submit.771217> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-4231](https://www.cve.org/CVERecord?id=CVE-2026-4231), CVE Terms of Use, modified 2026-03-16
- NVD: [CVE-2026-4231](https://nvd.nist.gov/vuln/detail/CVE-2026-4231), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4231 · Whole record: https://cve.day/CVE-2026-4231.json · Rebuilt by cve.day 2026-11-25T22:59:16.006Z
