{"id":"CVE-2026-40319","published":"2026-04-17T17:16:37Z","modified":"2026-04-20T13:46:09Z","title":"Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check","vendor":"Giskard-AI","product":"giskard-oss","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":1,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00152,"percentile":0.04406,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1","tags":["x_refsource_MISC"]}],"priority":{"score":1.6,"factors":[{"name":"EPSS percentile","points":0.88},{"name":"CVSS severity","points":0.7}]},"vendorSlug":"giskard-ai","affectedVersions":[{"vendor":"Giskard-AI","product":"giskard-oss","versions":["< 1.0.2b1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T13:43:20.277065Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"giskard-checks","vulnerableRanges":["<1.0.2b1"],"patched":["1.0.2b1"],"from":["GHSA-rq2q-4r55-9877","PYSEC-2026-2489"],"provenance":"source"}],"summary":{"text":"A regular expression denial-of-service flaw exists in the RegexMatching check of Giskard-AI's giskard-oss product, an open-source testing framework for AI models, where user-supplied patterns are passed to Python's re.search() with no timeout or complexity guard. An attacker who can write a check definition and get the test suite executed can supply a crafted pattern that causes catastrophic backtracking and makes the process hang indefinitely.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:56Z"},"euvd":{"id":"EUVD-2026-23454","exploited":false,"provenance":"source"}}