Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. giskard-checks
  4. ›
  5. CVE-2026-40319

CVE-2026-40319: Giskard has a Regular Expression Denial of Service (ReDoS) in RegexMatching Check

April 14, 2026 (updated April 27, 2026)

The RegexMatching check in the giskard-checks package passes a user-supplied regular expression pattern directly to Python’s re.search() without any timeout, complexity guard, or pattern validation. An attacker who can control the regex pattern or the text being matched can craft inputs that trigger catastrophic backtracking in the regex engine, causing the process to hang indefinitely and denying service to all other operations.

giskard-checks is a local developer testing library. Check definitions, including the pattern parameter, are provided in application code or configuration files and executed locally. Exploitation requires write access to a check definition and subsequent execution of the test suite. The absence of a regex timeout could cause availability issues in automated environments such as CI/CD pipelines.

References

  • github.com/Giskard-AI/giskard-oss
  • github.com/Giskard-AI/giskard-oss/releases/tag/giskard-checks%2Fv1.0.2b1
  • github.com/Giskard-AI/giskard-oss/security/advisories/GHSA-rq2q-4r55-9877
  • github.com/advisories/GHSA-rq2q-4r55-9877
  • nvd.nist.gov/vuln/detail/CVE-2026-40319

Code Behaviors & Features

Detect and mitigate CVE-2026-40319 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.2b1

Fixed versions

  • 1.0.2b1

Solution

Upgrade to version 1.0.2b1 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/giskard-checks/CVE-2026-40319.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:59 +0000.