CVE-2026-34172: giskard-oss · Template Injection
Affects giskard-ossSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 1.0.2b1 or 0.3.4 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.2b1, 0.3.4
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade giskard-oss to 1.0.2b1 or 0.3.4; giskard-oss to 0.3.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Giskard-AIgiskard-oss | Affected
| Fixed in
|
| Giskard-AIgiskard-oss | Affected
| Fixed in
|
PyPIgiskard-osspkg:pypi/giskard-ossOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate upgrade to giskard-oss versions 0.3.4 or later, or 1.0.2b1 or later, which contain patches addressing this vulnerability.
- Audit all codebases and deployment environments to identify any usage of the ChatWorkflow.chat(message) method, especially where the message parameter may contain user-supplied input.
- If upgrading is not immediately possible, implement input validation and sanitization to ensure that user input cannot contain Jinja2 template syntax or special elements that enable class traversal.
- Consider sandboxing or restricting the Jinja2 environment if custom template rendering is necessary, using Jinja2's sandboxed environment features to limit code execution capabilities.
- Monitor logs and application behavior for suspicious template rendering activity or unexpected code execution patterns.
- Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools to detect and block anomalous behavior indicative of exploitation attempts.
- Educate developers about the risks of passing user input directly to template engines without sanitization, especially in AI and agentic system contexts.
- Review and harden access controls and privilege separation for systems running giskard-oss to minimize impact if exploitation occurs.
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.