{"id":"CVE-2026-34172","published":"2026-03-31T13:50:17Z","modified":"2026-03-31T19:09:13Z","title":"Giskard Agents have Server-side template injection via ChatWorkflow.chat() using non-sandboxed Jinja2 Environment","vendor":"Giskard-AI","product":"giskard-oss","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00649,"percentile":0.52048,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-frv4-x25r-588m","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.41},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"giskard-ai","affectedVersions":[{"vendor":"Giskard-AI","product":"giskard-oss","versions":["< 0.3.4",">= 1.0.1a1, < 1.0.2b1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-31T18:39:22.718455Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"giskard-agents","vulnerableRanges":["<0.3.4",">=1.0.1a1, <1.0.2b1"],"patched":["0.3.4","1.0.2b1"],"from":["GHSA-frv4-x25r-588m","PYSEC-2026-2487"],"provenance":"source"}],"summary":{"text":"Giskard-OSS, the open-source Python library for testing agentic systems, contains a server-side template injection flaw in ChatWorkflow.chat(), which passes its message argument directly as Jinja2 template source to a non-sandboxed Environment. An attacker who can get input into that method, which requires a developer to pass user-controlled data to it, can achieve remote code execution through Jinja2 class traversal, with the attack requiring low-privilege access and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:45Z"},"euvd":{"id":"EUVD-2026-17451","exploited":false,"provenance":"source"}}