---
id: CVE-2026-2969
aliases:
  - GHSA-q5xx-fxv3-xxqf
  - PYSEC-2026-2439
title: >-
  datapizza-ai: Server-Side Template Injection in ChatPromptTemplate via Jinja2
  Template Handler
summary: >-
  datapizza-ai: Server-Side Template Injection in ChatPromptTemplate via Jinja2
  Template Handler
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L'
vendor: datapizza-ai-core
product: datapizza-ai-core
ecosystem: pip
affected:
  - datapizza-ai-core <= 0.0.2
published: '2026-02-23'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-q5xx-fxv3-xxqf'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-2969'
  - url: 'https://github.com/datapizza-labs/datapizza-ai'
  - url: 'https://github.com/hacktivesec/datapizza-ai-disclosure/blob/main/ssti.md'
  - url: 'https://vuldb.com/?ctiid.347336'
  - url: 'https://vuldb.com/?id.347336'
  - url: 'https://vuldb.com/?submit.755357'
tags:
  - osv
  - pip
epss: 0.00713
epssPercentile: 0.52231
ingestedAt: '2026-07-13T18:58:01.890Z'
---

## Overview

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.

## Affected packages

- `datapizza-ai-core <= 0.0.2`

## Remediation

Refer to the advisory for the patched release.
