{"id":"CVE-2026-40319","summary":"Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check","details":"Giskard is an open-source testing framework for AI models. In versions prior to 1.0.2b1, the RegexMatching check passes a user-supplied regular expression pattern directly to Python's re.search() without any timeout or complexity guard. A crafted regex pattern can trigger catastrophic backtracking, causing the process to hang indefinitely. 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.","aliases":["GHSA-rq2q-4r55-9877","PYSEC-2026-2489"],"modified":"2026-07-15T01:48:58.544141802Z","published":"2026-04-17T17:16:37.676Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40319.json"},"references":[{"type":"WEB","url":"https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40319.json"},{"type":"ADVISORY","url":"https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40319"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/giskard-ai/giskard-oss","events":[{"introduced":"0"},{"fixed":"0a826ad544d5904d8dd5c2d2aa68102af3851263"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.0.2b1"}]}}],"versions":["v2.19.1","giskard-agents/v1.0.2b1","giskard-checks/v1.0.1b1","giskard-core/v1.0.1b2","giskard-core/v1.0.1b1","giskard-checks/v1.0.1a2","giskard-agents/v1.0.2a1","giskard-checks/v1.0.1a1","giskard-agents/v1.0.1a1","giskard-core/v1.0.1a1","v2.19.0","v2.18.1","v2.18.0","v2.17.0","v2.16.2","v2.16.1","v2.16.0","v2.15.5","v2.15.4","v2.15.3","v2.15.2","v2.15.1","v2.15.0","v2.14.6","v2.14.5","v2.14.4","v2.14.3","v2.14.2","v2.14.1","v2.14.0","v2.13.0","v2.12.0","v2.11.0","v2.10.0","hub","v2.9.1","v2.9.0","v2.8.0","v2.7.7","v2.7.6","v2.7.5","v2.7.4","v2.7.3","v2.7.2","v2.7.1","v2.7.0","v2.6.0","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.2","v2.3.1","v2.3.0","v2.2.0","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v2.0.0b34","v2.0.0b33","v2.0.0b32","v2.0.0b31","v2.0.0b30","v2.0.0b29","v2.0.0b28","v2.0.0b26","v2.0.0b25","v2.0.0b24","v2.0.0b23","v2.0.0b20","v2.0.0b19","v2.0.0b18","v2.0.0b17","v2.0.0b16","v2.0.0b15","v2.0.0b14","v2.0.0b12","v2.0.0b10","v2.0.0b9","python-client-1.8.0","v1.5.0","python-client-v1.9.1","v1.8.0","v1.4.0","v1.2.0","v1.1.0","v1.0.0","v0.2.0","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40319.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L"}]}