CVE-2026-40320
published medium CVSS 4.0 · 5.4Giskard has an Unsandboxed Jinja2 Template Rendering in ConformityCheck
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Giskard-AI | — | giskard-oss< 1.0.2b1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Giskard-AI | giskard-oss | < 1.0.2b1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
2Provider assertions
2GitHub_M · cna
Giskard has an Unsandboxed Jinja2 Template Rendering in ConformityCheck
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 95884a846e6f300af13c550170e63e6305d09ef6f5cb1d564a20710b7dc9d71e
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record