Arbitrary Code Execution Risk in Giskard Framework for AI Models
CVE-2026-40320
5.4MEDIUM
What is CVE-2026-40320?
The Giskard framework, an open-source tool for AI model testing, is susceptible to a serious vulnerability in the ConformityCheck class. In versions prior to 1.0.2b1, it improperly handles the rendering of the rule parameter by utilizing Jinja2's Template constructor. This oversight allows untrusted sources to execute crafted rule strings, potentially leading to arbitrary code execution. Exploitation of this vulnerability necessitates write access to the check definition followed by the execution of the test suite. This issue has been addressed in the recent update to version 1.0.2b1.
Affected Version(s)
giskard-oss < 1.0.2b1
