Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. giskard-agents
  4. ›
  5. CVE-2026-34172

CVE-2026-34172: Giskard Agents have Server-side template injection via ChatWorkflow.chat() using non-sandboxed Jinja2 Environment

March 27, 2026 (updated March 31, 2026)

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.

References

  • github.com/Giskard-AI/giskard-oss
  • github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-frv4-x25r-588m
  • github.com/advisories/GHSA-frv4-x25r-588m
  • nvd.nist.gov/vuln/detail/CVE-2026-34172

Code Behaviors & Features

Detect and mitigate CVE-2026-34172 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.1a1 before 1.0.2b1, all versions before 0.3.4

Fixed versions

  • 0.3.4
  • 1.0.2b1

Solution

Upgrade to versions 0.3.4, 1.0.2b1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

pypi/giskard-agents/CVE-2026-34172.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:20:16 +0000.