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.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Giskard Giskard-Agent
cpe:2.3:a:giskard:giskard-agent:*:*:*:*:*:python:*:*
|
— |
0.3.4
|
|
Giskard Giskard-Agent
cpe:2.3:a:giskard:giskard-agent:1.0.2:alpha1:*:*:*:python:*:*
|
— | — |
|
Giskard Giskard-Agents
cpe:2.3:a:giskard:giskard-agents:1.0.1:alpha1:*:*:*:python:*:*
|
— | — |