{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40319","id":"CVE-2026-40319","title":"Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check","description":"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 a","descriptionLong":"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.","published":"2026-04-17T17:16:37.676Z","updated":"2026-10-28T02:30:21.252920759Z","reserved":"2026-04-10T21:41:54.505Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":1,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":1,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"low","products":["Giskard-AI giskard-oss"],"affectedProducts":[{"vendor":"Giskard-AI","product":"giskard-oss","defaultStatus":null,"versions":[{"version":"< 1.0.2b1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"giskard-checks","purl":"pkg:pypi/giskard-checks","ranges":["<1.0.2b1"],"fixed":["1.0.2b1"],"advisory":"GHSA-rq2q-4r55-9877"}],"cwes":["CWE-1333"],"aliases":["GHSA-rq2q-4r55-9877","PYSEC-2026-2489"],"references":[{"url":"https://github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40319.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40319","tags":["advisory"]},{"url":"https://github.com/Giskard-AI/giskard-oss","tags":["package"]},{"url":"https://pypi.org/project/giskard-checks","tags":["package"]},{"url":"https://github.com/advisories/GHSA-rq2q-4r55-9877","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00152,"epssPercentile":0.0442,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40319","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40319","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40319","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rq2q-4r55-9877","ok":true,"note":"GHSA-rq2q-4r55-9877"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40319","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}