CVE-2026-145590: Crawl4AI before 0.9.6 ReDoS via List-Form Schema Field Type
Crawl4AI before 0.9.6 contains a ReDoS gate bypass in hasregexfield() in crawl4ai/asyncconfigs.py, which rejects only the plain string "regex" and not list-form field types in JSON CSS, XPath and lxml extraction schemas. Authenticated API clients can send a field type of ["text", "regex"] with a catastrophic-backtracking pattern to stall the server, including /health.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.9.6
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs authenticated access as an API client and must be able to submit extraction schemas. The affected schema paths are JSON CSS, XPath, and lxml extraction schemas.
Is an unauthenticated default deployment affected?
The provided information identifies authenticated API clients as the attack prerequisite. It does not establish that unauthenticated clients can exploit the issue.
What input triggers the denial of service?
The attacker submits a list-form field type of ["text", "regex"] together with a catastrophic-backtracking pattern. This bypasses the check that rejects only the plain string "regex" and can stall the server, including the /health endpoint.
Which versions need remediation?
Crawl4AI versions before 0.9.6 are affected. Upgrade to 0.9.6 or later if available in your deployment.