PT-2026-32983 · Giskard · Giskard

CVE-2026-40319

·

Published

2026-04-14

·

Updated

2026-07-13

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Giskard versions prior to 1.0.2b1
Description The RegexMatching check in the giskard-checks package passes a user-supplied regular expression pattern directly to the Python re.search() function without a timeout, complexity guard, or pattern validation. A crafted regex pattern can trigger catastrophic backtracking, which is a state where the regex engine takes an exponential amount of time to determine if a string matches a pattern, causing the process to hang indefinitely and resulting in a denial of service. Exploitation requires write access to a check definition and subsequent execution of the test suite, which could impact availability in automated environments such as CI/CD pipelines. The issue is located in text matching.py within the re.search(pattern, text) call.
Recommendations Update to version 1.0.2b1 or later.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-40319
GHSA-RQ2Q-4R55-9877
PYSEC-2026-2489

Affected Products

Giskard