
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40319 is a Regular Expression Denial of Service (ReDoS) vulnerability in the giskard-checks package (part of the Giskard-AI open-source project). The RegexMatching check passes user-supplied regex patterns directly to Python's re.search() without any timeout, complexity guard, or pattern validation, enabling catastrophic backtracking. All versions of giskard-checks up to and including 1.0.1b1 are affected; the issue was disclosed on April 13, 2026, and patched in version 1.0.2b1. It carries a CVSS v3.1 score of 5.5 (Medium) and a CVSS v4.0 score of 1.0 (Low) (GitHub Advisory, Giskard Advisory).
The root cause is classified as CWE-1333 (Inefficient Regular Expression Complexity), mapped to CAPEC-492 (Regular Expression Exponential Blowup). The vulnerable code is located in text_matching.py at line 457, where re.search(pattern, text) is called with an unvalidated, user-controlled pattern argument and no execution timeout. An attacker with write access to a check definition file or configuration can craft a pathological regex (e.g., patterns with nested quantifiers like (a+)+) paired with a carefully constructed input string to trigger exponential backtracking in Python's regex engine, causing the process to hang indefinitely. Exploitation requires local write access to the check definition and subsequent execution of the test suite (GitHub Advisory, Giskard Advisory).
Successful exploitation causes a complete availability denial of the affected process — the Python regex engine hangs indefinitely, blocking all subsequent test suite operations. There is no confidentiality or integrity impact. The primary risk is disruption of automated CI/CD pipelines that execute giskard-checks test suites, potentially stalling software delivery workflows. The scope is limited to the local execution environment and does not enable remote code execution or data exfiltration (GitHub Advisory).
No public exploit code, exploit kits, or in-the-wild exploitation have been reported for this vulnerability. The EPSS score is approximately 0.015% (1st percentile), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for local write access to check definition files and manual or automated test suite execution (GitHub Advisory).
re module, such as (a+)+$ or (a|aa)+$.pattern parameter in a RegexMatching check definition within the application code or configuration file targeting text_matching.py.re.search(pattern, text) to be called with the malicious pattern.giskard-checks test execution step with no error output; absence of normal test completion log entries.text_matching.py configurations or YAML/JSON check config files) containing complex nested quantifier regex patterns (e.g., (a+)+, (a|aa)+).Upgrade giskard-checks to version 1.0.2b1 or later, which introduces a regex execution timeout to bound re.search() calls and mitigate ReDoS. The fix was implemented in pull request #2381 (fix(giskard-checks): bound RegexMatching with regex timeout to mitigate ReDoS). As a workaround prior to patching, restrict write access to check definition files and review all RegexMatching check patterns for potentially dangerous constructs (nested quantifiers, alternation with overlap). Organizations using automated CI/CD pipelines should prioritize upgrading promptly (GitHub Advisory, Release Notes).
The vulnerability was discovered and reported by security researcher @dhabaleshwar, who was credited by Giskard-AI in the official advisory. The advisory was published by maintainer mattbit on April 13, 2026, and reviewed by GitHub on April 14, 2026. No significant broader media coverage or notable community debate has been identified beyond standard vulnerability database aggregation (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."