Improper Neutralization of Special Elements Used in a Template Engine Affecting datapizza-ai-core package, versions [0,0.0.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.69% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DATAPIZZAAICORE-15363212
  • published27 Feb 2026
  • disclosed23 Feb 2026
  • creditEdoardo Ottavianelli

Introduced: 23 Feb 2026

CVE-2026-2969  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade datapizza-ai-core to version 0.0.7 or higher.

Overview

datapizza-ai-core is a Core components for the datapizza-ai framework

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the ChatPromptTemplate() function that utilises Jinja2 Template. An attacker can execute arbitrary code or access sensitive information by injecting special elements into the template engine.

References

CVSS Base Scores

version 4.0
version 3.1