CVE-2026-2969: datapizza-ai Server-Side Template Injection Vulnerability
LOWCVE-2026-2969 is a LOW (CVSS 4.7) server-side template injection vulnerability (CWE-791: Incomplete Filtering of Special Elements) affecting datapizza-ai libraries in the PyPI ecosystem. The issue involves server-side template injection in chatprompttemplate via jinja2 template handler. Remediation is available in the latest vendor maintenance releases.
CVE-2026-2969 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2026-2969
To remediate this vulnerability, upgrade all affected datapizza-ai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install datapizza-ai-core>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show datapizza-ai-core
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-2969, inspect your installed packages using pip:
pip show datapizza-ai-core
Analyze the terminal output to locate any version of datapizza-ai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show datapizza-ai-core command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-791: Incomplete Filtering of Special Elements, where the product receives data from an upstream component, but does not completely filter special elements before sending it to a downstream component. In datapizza-ai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-2969 Affected datapizza-ai Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
datapizza-ai-core
|
PyPI |
≤ 0.0.2
|
|
References
Frequently Asked Questions
What is CVE-2026-2969?
Which datapizza-ai versions are affected?
What version fixes CVE-2026-2969?
Is datapizza-ai-core affected?
What is the CVSS score of CVE-2026-2969?
What CWE is associated with CVE-2026-2969?
How can I check PyPI dependencies for CVE-2026-2969?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q5xx-fxv3-xxqf",
"modified" : "2026-02-25T17:52:48Z",
"published" : "2026-02-23T06:30:18Z",
"aliases" : [ "CVE-2026-2969" ],
"summary" : "datapizza-ai: Server-Side Template Injection in ChatPromptTemplate via Jinja2 Template Handler",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "datapizza-ai-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-2969"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/datapizza-labs/datapizza-ai"
}, {
"type" : "WEB",
"url" : "https://github.com/hacktivesec/datapizza-ai-disclosure/blob/main/ssti.md"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.347336"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.347336"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.755357"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1336", "CWE-791" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-25T17:52:48Z",
"nvd_published_at" : "2026-02-23T05:16:19Z"
}
}