Vulnerability in Giskard
CVE-2026-40320
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.
EPSS: 0.001 (4.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Giskard
- Giskard-ai Giskard-oss — versions < 1.0.2b1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-40320?
- CVE-2026-40320 is a high-severity vulnerability in Giskard, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 7.8/10. Published 2026-04-17.
- How severe is CVE-2026-40320?
- High severity. CVSS v3 base score is 7.8 out of 10.