Home

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.

PUBLISHED Reserved 2026-03-25 | Published 2026-03-31 | Updated 2026-03-31 | Assigner GitHub_M




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

Problem types

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Product status

< 0.3.4
affected

>= 1.0.1a1, < 1.0.2b1
affected

References

github.com/...rd-oss/security/advisories/GHSA-frv4-x25r-588m exploit

github.com/...rd-oss/security/advisories/GHSA-frv4-x25r-588m

cve.org (CVE-2026-34172)

nvd.nist.gov (CVE-2026-34172)

Download JSON