CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-40320

High
Published: Translated: NVD NIST

Summary

Giskard to otwartoźródłowy framework do testowania modeli AI. W wersjach przed 1.0.2b1 klasa ConformityCheck renderowała parametr reguły za pomocą domyślnego konstruktora Template() Jinja2, co pozwalało na ciche interpretowanie wyrażeń szablonów w czasie wykonywania.

Risk Assessment

Jeśli definicje testów są ładowane z nieufnego źródła, stworzony ciąg reguły może prowadzić do wykonania dowolnego kodu. Wymaga to dostępu do zapisu w definicji testu oraz późniejszego uruchomienia zestawu testów.

Recommendation

Zaleca się aktualizację do wersji giskard-checks 1.0.2b1, aby usunąć tę podatność. Należy również zapewnić, że definicje testów pochodzą tylko z zaufanych źródeł.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS