# CVE-2026-2969: datapizza-labs datapizza-ai Jinja2 Template prompt.py ChatPromptTemplate special elements used in a template engine

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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.78%, higher than 57% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2026-02-23T03:32:08.408Z
- Modified: 2026-07-13T16:43:04.254Z
- Also known as: GHSA-q5xx-fxv3-xxqf, PYSEC-2026-2439
- Weaknesses: CWE-791, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in datapizza-labs datapizza-ai 0.0.2. Affected is the function ChatPromptTemplate of the file datapizza-ai-core/datapizza/modules/prompt/prompt.py of the component Jinja2 Template Handler. This manipulation of the argument Prompt causes improper neutralization of special elements used in a template engine. Remote exploitation of the attack is possible. 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

- datapizza-labs datapizza-ai: 0.0.2
- datapizza-ai-core (PyPI): up to 0.0.2
- datapizza datapizza_ai: 0.0.2

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 4.7 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/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:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://vuldb.com/?ctiid.347336> (exploit, permissions-required, signature, web)
- <https://vuldb.com/?submit.755357> (exploit, third-party-advisory, web)
- <https://github.com/hacktivesec/datapizza-ai-disclosure/blob/main/ssti.md> (exploit, related, third-party-advisory, web)
- <https://github.com/hacktivesec/datapizza-ai-disclosure/blob/main/ssti.md#poc> (exploit, third-party-advisory)
- <https://vuldb.com/?id.347336> (technical-description, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2969> (advisory)
- <https://github.com/datapizza-labs/datapizza-ai> (package)
- <https://pypi.org/project/datapizza-ai-core> (package)
- <https://github.com/advisories/GHSA-q5xx-fxv3-xxqf> (advisory)

## Sources

- CVE List: [CVE-2026-2969](https://www.cve.org/CVERecord?id=CVE-2026-2969), CVE Terms of Use, modified 2026-02-23
- GitHub Advisory Database: [GHSA-q5xx-fxv3-xxqf](https://github.com/advisories/GHSA-q5xx-fxv3-xxqf), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-2969](https://nvd.nist.gov/vuln/detail/CVE-2026-2969), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2439](https://osv.dev/vulnerability/PYSEC-2026-2439), CC-BY-4.0, modified 2026-07-13

---

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