CVE-2026-34172 Details
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.
A remote code execution vulnerability has been identified in the Giskard library, specifically in the chat workflow component, prior to versions 0.3.4 and 1.0.2b1. The issue arises because the ChatWorkflow.chat() method directly passes string arguments as Jinja2 templates to a non-sandboxed environment. This allows for full remote code execution through Jinja2 class traversal, particularly if user input is sent to the chat method. The vulnerability is rooted in the fact that the input is silently interpreted as a template rather than plain text, enabling exploitation by traversing class attributes to access and execute system commands.
Users can update to Giskard versions 0.3.4 or 1.0.2b1 to address this vulnerability. The update replaces the unsandboxed Jinja2 Environment with SandboxedEnvironment, which blocks attribute access to dunder methods and prevents class traversal, mitigating the risk of remote code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-frv4-x25r-588m | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-frv4-x25r-588m | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| giskard giskard-agent | < 0.3.4 1.0.2 alpha1 |
CPE
Remediation
| |
| giskard giskard-agents | 1.0.1 alpha1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2026 | Initial Analysis | [email protected] |
| Mar 31, 2026 | CVE Modified | CISA-ADP |
| Mar 31, 2026 | New CVE Received | [email protected] |