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.

Severity (CVSS 4.0)5.4Medium
Exploit odds (30 days)0.1%top 96.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIgiskard-checks1.0.2b1GHSA-7xjm-g8f4-rp26
PyPIgiskard-checks1.0.2b1PYSEC-2026-2488

Affected products (as reported)

VendorProductVersions
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

References