PYSEC-2026-2439

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/datapizza-ai-core/PYSEC-2026-2439.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2439
Aliases
Published
2026-07-13T14:36:37.613438Z
Modified
2026-07-13T16:31:42.895940798Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
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.

References

Affected packages

PyPI / datapizza-ai-core

Package

Name
datapizza-ai-core
View open source insights on deps.dev
Purl
pkg:pypi/datapizza-ai-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.0.2

Affected versions

0.*
0.0.1
0.0.2

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/datapizza-ai-core/PYSEC-2026-2439.yaml"