CVE 7.7 HIGH

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

7.7 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2026-34172
Source GitHub_M
Published Mar 31, 2026 at 13:50
Modified Mar 31, 2026 at 19:09

Affected Product

Vendor Giskard-AI
Product giskard-oss
Version < 0.3.4
Affected Versions Giskard-AI giskard-oss < 0.3.4
Giskard-AI giskard-oss >= 1.0.1a1, < 1.0.2b1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.