Vulnerability · Published Apr 17, 2026 · Assigned by GitHub_M
CVE-2026-40320Giskard has an Unsandboxed Jinja2 Template Rendering in ConformityCheck
Medium 5.4
In plain English
A medium-severity security flaw in giskard-oss from Giskard-AI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | giskard-checks | 1.0.2b1 | GHSA-7xjm-g8f4-rp26 |
| PyPI | giskard-checks | 1.0.2b1 | PYSEC-2026-2488 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Giskard-AI | giskard-oss | < 1.0.2b1 |
Weakness: CWE-1336 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:L