{"cve":"CVE-2026-40320","nvd":{"published":"2026-04-17T18:16:32.203","modified":"2026-10-26T22:10:00.163","status":"Analyzed","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.","cvss_v4":{"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","score":5.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-1336"],"references":["https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1","https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-7xjm-g8f4-rp26"],"products":["giskard:giskard"],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-40320","score":0.00144,"percentile":0.03662,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-7xjm-g8f4-rp26","url":"https://osv.dev/vulnerability/GHSA-7xjm-g8f4-rp26","summary":"Giskard has Unsandboxed Jinja2 Template Rendering in ConformityCheck","modified":"2026-07-13T16:43:42.102045575Z","packages":[{"ecosystem":"PyPI","name":"giskard-checks","purl":"pkg:pypi/giskard-checks","ranges":["<1.0.2b1"],"fixed":["1.0.2b1"]}]},{"id":"PYSEC-2026-2488","url":"https://osv.dev/vulnerability/PYSEC-2026-2488","summary":"Giskard has Unsandboxed Jinja2 Template Rendering in ConformityCheck","modified":"2026-07-13T16:32:37.390646608Z","packages":[{"ecosystem":"PyPI","name":"giskard-checks","purl":"pkg:pypi/giskard-checks","ranges":["<1.0.2b1"],"fixed":["1.0.2b1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}