Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Giskard-AI | giskard-oss | before 1.0.2b1 | 1.0.2b1 | Patch available | CNA |
| — | giskard-checks (PyPI) | before 1.0.2b1 | 1.0.2b1 | Patch available | GHSA-rq2q-4r55-9877 |
- giskard-oss VendorGiskard-AI Affected before 1.0.2b1 Fixed in 1.0.2b1 Patch available CNA
- giskard-checks (PyPI) Vendor— Affected before 1.0.2b1 Fixed in 1.0.2b1 Patch available GHSA-rq2q-4r55-9877
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:giskard:giskard:*:*:*:*:*:*:*:* | before 1.0.2 | Vulnerable | Giskard-AI |
- cpe:2.3:a:giskard:giskard:*:*:*:*:*:*:*:* Versions before 1.0.2 Vulnerable ·Giskard-AI
Remediation
- Fix · CNA giskard-oss (Giskard-AI) Fixed in 1.0.2b1
- Fix · GHSA-rq2q-4r55-9877 giskard-checks (PyPI) Fixed in 1.0.2b1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40319
- 2026-10-03 Alias added: GHSA-rq2q-4r55-9877
References
More Giskard-AI Giskard vulnerabilities
- TI-2026-29097 Giskard has an Unsandboxed Jinja2 Template Rendering in ConformityCheck CVSS 4.0MEDIUM 5.4
Sources
- CVE-2026-40319 · CVE Program
- CVE-2026-40319 · NVD
- FIRST EPSS
- GHSA-rq2q-4r55-9877 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences