Regex Denial of Service in Giskard Open-Source Testing Framework
CVE-2026-40319
1LOW
What is CVE-2026-40319?
The Giskard open-source testing framework for AI models has a significant vulnerability where the RegexMatching check can inadvertently allow a user to supply a regex pattern directly to Python's re.search() function without any time limits or complexity restrictions. This can lead to catastrophic backtracking, causing the system to become unresponsive and hang indefinitely. The exploitation requires the attacker to have write access to a check definition before executing the test suite. This issue has been effectively resolved in Giskard version 1.0.2b1.
Affected Version(s)
giskard-oss < 1.0.2b1
