CVE-2026-40320 Details
Description
Giskard is an open-source testing framework for AI models. In versions prior to 1.0.2b1, the ConformityCheck class rendered the rule parameter through Jinja2's default Template() constructor, silently interpreting template expressions at runtime. If check definitions are loaded from an untrusted source, a crafted rule string could achieve arbitrary code execution. Exploitation requires write access to a check definition and subsequent execution of the test suite. This issue has been fixed in giskard-checks version 1.0.2b1.
A vulnerability exists in the Giskard AI testing framework for AI models, specifically in the Giskard-Checks component, versions prior to 1.0.2b1. The issue arises in the ConformityCheck class, where the rule parameter is rendered using Jinja2's Template constructor. This implementation allows template expressions to be evaluated at runtime, creating a risk of arbitrary code execution if check definitions are sourced from untrusted origins. Exploitation requires write access to a check definition and the execution of the test suite.
Users are advised to upgrade to Giskard-Checks version 1.0.2b1 or later, where this vulnerability has been addressed by removing template rendering from rule evaluation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| giskard giskard | < 1.0.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2026 | Initial Analysis | [email protected] |
| Apr 17, 2026 | New CVE Received | [email protected] |