CVE-2026-40320

Giskard has an Unsandboxed Jinja2 Template Rendering in ConformityCheck

Published Apr 17, 2026 CVSS 4.0 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-7xjm-g8f4-rp26 Giskard has Unsandboxed Jinja2 Template Rendering in ConformityCheck
History
Type Values Removed Values Added
First Time appeared Giskard
Giskard giskard
CPEs cpe:2.3:a:giskard:giskard:*:*:*:*:*:*:*:*
Vendors & Products Giskard
Giskard giskard
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Giskard-ai
Giskard-ai giskard
Vendors & Products Giskard-ai
Giskard-ai giskard
Type Values Removed Values Added
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.
Title Giskard has an Unsandboxed Jinja2 Template Rendering in ConformityCheck
Weaknesses CWE-1336
References
Metrics cvssV4_0

{'score': 5.4, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 20, 2026, 1:46 PM
Reserved
Apr 10, 2026, 9:41 PM
Status
Analyzed
Published
Apr 17, 2026, 6:16 PM
Modified
Oct 26, 2026, 10:10 PM