datapizza-labs/datapizza-ai · Security
datapizza-ai: Server-Side Template Injection in ChatPromptTemplate via Jinja2 Template Handler
- GHSA ID
- GHSA-q5xx-fxv3-xxqf
- CVE ID
- CVE-2026-2969
- Severity
- low
- Published
- Updated
- CVSS
- 4.7 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 4.7 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- CVSS v4
- 2 · 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
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.
CWEs
- CWE-791 · Incomplete Filtering of Special Elements
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine