Skip to content

CVE-2026-34172 Giskard Agents have Server-side template injection via ChatWorkflow.chat() using non-sandboxed Jinja2 Environment

HighCVSS 7.7 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Giskard is an open-source Python library for testing and evaluating agentic systems. Prior to versions 0.3.4 and 1.0.2b1, ChatWorkflow.chat(message) passes its string argument directly as a Jinja2 template source to a non-sandboxed Environment. A developer who passes user input to this method enables full remote code execution via Jinja2 class traversal. The method name chat and parameter name message naturally invite passing user input directly, but the string is silently parsed as a Jinja2 template, not treated as plain text. This issue has been patched in versions 0.3.4 and 1.0.2b1.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
giskard-agent < 0.3.4; = 1.0.2-alpha1 0.3.4 Fixed
pypi giskard-agents(PyPI) < 0.3.4; <= 0.3.3; = 0.3.0; = 0.3.1 +6 more 0.3.4, 1.0.2b1 Fixed
giskard-agents = 1.0.1-alpha1 No fix listed Versions listed
Giskard-AI giskard-oss = < 0.3.4; = >= 1.0.1a1, < 1.0.2b1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi giskard-agents(PyPI) < 0.3.4 0.3.4
pypi giskard-agents(PyPI) = 0.3.0 No fix listed
pypi giskard-agents(PyPI) = 0.3.1 No fix listed
pypi giskard-agents(PyPI) = 0.3.2 No fix listed
pypi giskard-agents(PyPI) = 0.3.3 No fix listed
pypi giskard-agents(PyPI) >= 1.0.1a1, < 1.0.2b1 1.0.2b1
pypi giskard-agents(PyPI) = 1.0.1a1 No fix listed
pypi giskard-agents(PyPI) = 1.0.2a1 No fix listed
Giskard-AI giskard-oss = < 0.3.4 No fix listed
Giskard-AI giskard-oss = >= 1.0.1a1, < 1.0.2b1 No fix listed
pypi giskard-agents(PyPI) <= 0.3.3 No fix listed
pypi giskard-agents(PyPI) >= 1.0.1a1, <= 1.0.2a1 No fix listed
giskard-agent < 0.3.4 0.3.4
giskard-agent = 1.0.2-alpha1 No fix listed
giskard-agents = 1.0.1-alpha1 No fix listed

References