CVE-2026-40319: CWE-1333: Inefficient Regular Expression Complexity in Giskard-AI giskard-oss
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.
AI Analysis
Technical Summary
The vulnerability arises from the RegexMatching check in giskard-oss versions before 1.0.2b1, which passes user-supplied regex patterns directly to Python's re.search() function without safeguards against complex patterns. This can lead to catastrophic backtracking, causing the process to hang indefinitely. Exploitation requires an attacker to have write access to a check definition and to trigger the test suite execution. The issue is addressed in giskard-checks version 1.0.2b1.
Potential Impact
An attacker with write access to check definitions can supply a crafted regex pattern that causes the process running the test suite to hang indefinitely due to catastrophic backtracking. This results in a denial of service condition affecting availability. There is no indication of confidentiality or integrity impact. The CVSS 4.0 score is low (1.0), reflecting limited impact and required privileges.
Mitigation Recommendations
A fix is available in giskard-checks version 1.0.2b1. Users should upgrade to this version or later to remediate the vulnerability. Since this is not a cloud service, remediation requires applying the update. No other mitigations are indicated.
CVE-2026-40319: CWE-1333: Inefficient Regular Expression Complexity in Giskard-AI giskard-oss
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.
CVSS v4.0
Score 1.0low
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the RegexMatching check in giskard-oss versions before 1.0.2b1, which passes user-supplied regex patterns directly to Python's re.search() function without safeguards against complex patterns. This can lead to catastrophic backtracking, causing the process to hang indefinitely. Exploitation requires an attacker to have write access to a check definition and to trigger the test suite execution. The issue is addressed in giskard-checks version 1.0.2b1.
Potential Impact
An attacker with write access to check definitions can supply a crafted regex pattern that causes the process running the test suite to hang indefinitely due to catastrophic backtracking. This results in a denial of service condition affecting availability. There is no indication of confidentiality or integrity impact. The CVSS 4.0 score is low (1.0), reflecting limited impact and required privileges.
Mitigation Recommendations
A fix is available in giskard-checks version 1.0.2b1. Users should upgrade to this version or later to remediate the vulnerability. Since this is not a cloud service, remediation requires applying the update. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-10T21:41:54.505Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e26ffebdfbbecc596e17be
Added to database: 4/17/2026, 5:38:06 PM
Last enriched: 4/25/2026, 3:00:19 AM
Last updated: 6/2/2026, 7:05:25 AM
Views: 113
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.