# CVE-2026-4229: vanna-ai vanna bigquery_vector.py remove_training_data sql injection

- 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.30%, higher than 24% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-16T08:32:07.744Z
- Modified: 2026-07-13T16:43:06.476Z
- Also known as: GHSA-6mj8-jmp2-g8q7, PYSEC-2026-3397
- Weaknesses: CWE-74, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in vanna-ai vanna up to 2.0.2. This impacts the function remove_training_data of the file src/vanna/legacy/google/bigquery_vector.py. This manipulation of the argument ID causes sql injection. The attack can be initiated remotely. The exploit has been published and may 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
- vanna (PyPI): up to 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`
- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 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`
- PyPA Advisory Database: 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`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://gist.github.com/YLChen-007/b4f326eaecc29b192cf93dc5d6bc0623> (exploit, web)
- <https://vuldb.com/?id.351152> (technical-description, vdb-entry, web)
- <https://vuldb.com/?ctiid.351152> (permissions-required, signature, web)
- <https://vuldb.com/?submit.771214> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4229> (advisory)
- <https://github.com/vanna-ai/vanna> (package)
- <https://pypi.org/project/vanna> (package)
- <https://github.com/advisories/GHSA-6mj8-jmp2-g8q7> (advisory)

## Sources

- CVE List: [CVE-2026-4229](https://www.cve.org/CVERecord?id=CVE-2026-4229), CVE Terms of Use, modified 2026-03-16
- GitHub Advisory Database: [GHSA-6mj8-jmp2-g8q7](https://github.com/advisories/GHSA-6mj8-jmp2-g8q7), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-4229](https://nvd.nist.gov/vuln/detail/CVE-2026-4229), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-3397](https://osv.dev/vulnerability/PYSEC-2026-3397), CC-BY-4.0, modified 2026-07-13

---

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