CVE-2026-40319
published low CVSS 4.0 · 1.0Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Giskard-AI | — | giskard-oss< 1.0.2b1 | Affected | Not stated | GitHub_M |
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 and subsequent execution of the test suite. This issue has been fixed in giskard-checks version 1.0.2b1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 1.0 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Giskard-AI | giskard-oss | < 1.0.2b1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
2Provider assertions
2GitHub_M · cna
Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9103cd0f84d28c810d799afb946b90e720b07a385da5679377c40f13a186d258
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record