datapizza-ai: Server-Side Template Injection in ChatPromptTemplate via Jinja2 Template Handler
Low severity
GitHub Reviewed
Published
Feb 23, 2026
to the GitHub Advisory Database
•
Updated Feb 25, 2026
Description
Published by the National Vulnerability Database
Feb 23, 2026
Published to the GitHub Advisory Database
Feb 23, 2026
Reviewed
Feb 25, 2026
Last updated
Feb 25, 2026
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