Skip to main content
VulnerabilityPublished

CVE-2026-34172: giskard-oss · Template Injection

Affects giskard-ossSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Giskard-AIgiskard-ossAffected
  • >=1.0.1a1 <1.0.2b1
Fixed in
  • 1.0.2b1
Giskard-AIgiskard-ossAffected
  • <0.3.4
Fixed in
  • 0.3.4
PyPIgiskard-osspkg:pypi/giskard-ossOther threatsAffected
  • <0.3.4
Fixed in
  • 0.3.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediate upgrade to giskard-oss versions 0.3.4 or later, or 1.0.2b1 or later, which contain patches addressing this vulnerability.
  2. 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.
  3. 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.
  4. Consider sandboxing or restricting the Jinja2 environment if custom template rendering is necessary, using Jinja2's sandboxed environment features to limit code execution capabilities.
  5. Monitor logs and application behavior for suspicious template rendering activity or unexpected code execution patterns.
  6. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools to detect and block anomalous behavior indicative of exploitation attempts.
  7. Educate developers about the risks of passing user input directly to template engines without sanitization, especially in AI and agentic system contexts.
  8. 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.

References

Community reviews

Loading reviews…