CVE-2026-40319 json
Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check
published 6mo ago modified 15d ago also EUVD-2026-23454 , GHSA-rq2q-4r55-9877 , PYSEC-2026-2489
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi giskard-checks 1.0.2b1
- giskard giskard-checks 1.0.2b1
Is CVE-2026-40319 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 1.0 | 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 |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 1.0 | 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 |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | giskard-checks | <1.0.2b1 |
1.0.2b1 |
Affected products
- Giskard-AI giskard-oss
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877
web, vendor-advisory
-
github.com
/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-40319
advisory
-
github.com
/Giskard-AI/giskard-oss
package
-
pypi.org
/project/giskard-checks
package
-
github.com
/advisories/GHSA-rq2q-4r55-9877
advisory
Sources
- CVE List CVE-2026-40319
- GitHub Advisory GHSA-rq2q-4r55-9877
- NVD CVE-2026-40319
- OSV PYSEC-2026-2489
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.