Skip to main content
Menu
CVEs

Crawl4AI regex denial of service in JSON extraction schema

Only affects crawl4ai before 0.9.6 when extraction schemas use JsonCss, JsonXPath or JsonLxml with list-form field types such as [text, regex]. Fixed in 0.9.6.

CVE-2026-145590Published , updated

7.1HighCNA
Exploited
No known exploitation
Fix
Fixed in 0.9.6
Who is exposed
Specific setups only

Summary

Crawl4AI, affected by this bug, can be stalled by an attacker who has a low-privilege login and reaches the software over the network. By sending a crafted list-form field type in a JSON extraction schema with a pattern that causes catastrophic backtracking, the attacker can make the server unresponsive, including its health endpoint.

Written by a model

Original description

Crawl4AI before 0.9.6 contains a ReDoS gate bypass in _has_regex_field() in crawl4ai/async_configs.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.

Who should check

Teams running crawl4ai 0.9.5 or older as an API server (such as the Docker image) that accept extraction schemas from API clients holding tokens

“Affecting crawl4ai < 0.9.6”

vulncheck.com

What to do

  1. Check whether your setup matches what the bug needs.

    Affected versions are crawl4ai before 0.9.6 (advisory lists <= 0.9.5) Extraction schema uses the JsonCss, JsonXPath or JsonLxml extraction strategy with a list-form field type such as [text, regex] Client is an authenticated API client holding a valid API token
  2. Upgrade to a fixed version: 0.9.6.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-145590 (Crawl4AI before 0.9.6 ReDoS via List-Form Schema Field Type), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-145590 (entry last updated 2026-12-06):
Affected:
- PyPI package crawl4ai: fixed in 0.9.6
Fixed versions: 0.9.6.
Conditions (all must be true for the bug to be hit):
- Affected versions are crawl4ai before 0.9.6 (advisory lists <= 0.9.5) (source: https://www.vulncheck.com/advisories/crawl4ai-before-0.9.6-redos-via-list-form-schema-field-type)
- Extraction schema uses the JsonCss, JsonXPath or JsonLxml extraction strategy with a list-form field type such as [text, regex] (source: https://github.com/unclecode/crawl4ai/security/advisories/GHSA-8696-2734-9jqw)
- Client is an authenticated API client holding a valid API token (source: https://www.vulncheck.com/advisories/crawl4ai-before-0.9.6-redos-via-list-form-schema-field-type)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, low-privilege login, no user action.
CISA KEV: CVE-2026-145590 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145590 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (PyPI): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-8696-2734-9jqw
- https://www.vulncheck.com/advisories/crawl4ai-before-0.9.6-redos-via-list-form-schema-field-type
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-145590
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145590"}.

Affected versions

cve.now Index

27Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach12/20crawl4ai: 445.8K downloads a week
  • Severity7.1/10CVSS 7.1
  • No patch0/5No signal

What would change the score

  • Would score about 77 if added to CISA KEV
  • Would score about 72 if CISA's SSVC rates exploitation active
  • Would score about 34 if CISA's SSVC rates it automatable

Impact

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
AdvisoryGitHub · unclecode/crawl4ai · Advisory GHSA-8696-2734-9jqw
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-145590
RecordNVD · CVE-2026-145590
Other links 1
Linkvulncheck.com · advisories/crawl4ai-before-0.9.6-redos-via-list-form-schema-field-type

Questions about CVE-2026-145590

Is CVE-2026-145590 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A list-form field type with a regex can make one request keep the server busy until the regex match finishes. While that runs, other requests, including health checks, are blocked.

Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-145590?

crawl4ai (PyPI): before 0.9.6.

Source: cve.now feed data

Am I affected, and how do I check?

Versions of crawl4ai before 0.9.6 are affected, and the advisory lists 0.9.5 and earlier. The issue applies to extraction schemas that use the JsonCss, JsonXPath or JsonLxml strategy with a list-form field type, and to clients holding a valid API token. To check, look at the installed crawl4ai version and whether extraction schemas use list-form field types with these strategies.

Source: vulncheck.com, github.com

How do I fix CVE-2026-145590?

Upgrade crawl4ai to version 0.9.6 or later, which is the fixed version.

Source: vulncheck.com, github.com

No corrections so far. Something wrong on this page? Report an error.