p PatchFirst

CVE-2026-34172

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.7 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • giskard-oss

    Versions
    • < 0.3.4: Affected
    • >= 1.0.1a1, < 1.0.2b1: Affected

    No fix published

  • giskard-agents PyPI

    Versions
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    Affected ranges
    • ECOSYSTEM: < 0.3.4

    Update to 0.3.4

  • giskard-agents PyPI

    Versions
    • 1.0.1a1
    • 1.0.2a1
    Affected ranges
    • ECOSYSTEM: ≥ 1.0.1a1, < 1.0.2b1

    Update to 1.0.2b1

  • giskard-agents PyPI

    Versions
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 1.0.1a1
    • 1.0.2a1
    Affected ranges
    • ECOSYSTEM: < 0.3.4 ∪ ≥ 1.0.1a1, < 1.0.2b1

    Update to 0.3.4; Update to 1.0.2b1

Original sources

Check your server →