MediumVulnerability
GHSA-7xjm-g8f4-rp26: Giskard has Unsandboxed Jinja2 Template Rendering in ConformityCheck
- Identifiers
- CVE-2026-40320GHSA-7xjm-g8f4-rp26
- Published
- Record updated
- Affected
- giskard-checks <= 1.0.1b1
- Fixed in
- 1.0.2b1
- released April 10, 2026, 4 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
giskard-checks versions before 1.0.2b1 render the ConformityCheck rule parameter through Jinja2's default Template() constructor, so template expressions in rule definitions are evaluated at runtime. If check definitions come from an untrusted source, this can lead to arbitrary code execution, though the library is a local testing tool and exploitation requires write access to a check definition followed by a developer running the test suite.
Mitigation
Upgrade to giskard-checks >= 1.0.2b1. The template rendering has been removed from rule evaluation.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- giskard-checksPyPIReaches an LLM package through dependencies · 2 tracked dependents
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database
- MediumCVE-2026-137667: ONNX ONNXMLTools cross site scripting in Model VisualizationSimilar attack · NVD/CVE Database
- InfoEvaluating transformer based language model robustness under low rate training data poisoningSimilar attack · OpenAlex (peer-reviewed AI security)