Crawl4AI
Crawl4AI: AST Sandbox Escape via gi_frame.f_back Chain - Pre-Auth RCE in Docker API
Crawl4AI is an open-source LLM friendly web crawler & scraper. Prior to 0.8.7, the _safe_eval_expression() function in the computed fields feature uses an AST validator that only blocks attributes starting with underscore. Python generator and frame object attributes (gi_frame, f_back, f_builtins) do NOT start with underscore, enabling a complete sandbox escape to achieve arbitrary code execution. The attack requires no authentication (JWT disabled by default) and is triggered via POST /crawl with a crafted extraction schema. This vulnerability is fixed in 0.8.7.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.8.7
Fixed in 0.8.7
Mitigation
Upgrade crawl4ai to 0.8.7 or later.
References
- Vendor advisory github.com/unclecode/crawl4ai/security/advisor…
Timeline
Days relative to CVE publicationFirst public PoC 6.1 days after publication; not in CISA KEV. First PoC: BiiTts/CVE-2026-53753-Crawl4AI-RCE (created 29 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| BiiTts/CVE-2026-53753-Crawl4AI-RCE | 29 Jun 2026 +6.1 d | 4 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Crawl4AI <= 0.8.6 - Remote Code Execution | 4 Aug 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /crawl
- Body markers
"urls""crawler_config""type":"CrawlerRunConfig""params""extraction_strategy""type":"JsonCssExtractionStrategy""schema""name":"pwn""baseSelector":"div""fields""name":"out""type":"computed""expression":"<PAYLOAD FROM §2>"inapplication/json- Ports
- 11235
- Seen in
- 1 repo: BiiTts/CVE-2026-53753-Crawl4AI-RCE
- Evidence
- BiiTts/CVE-2026-53753-Crawl4AI-RCE/README.md:182 BiiTts/CVE-2026-53753-Crawl4AI-RCE/exploit.py:116
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/crawl(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [11235] (msg:"GG PoC-Monitor CVE-2026-53753 unclecode crawl4ai exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/crawl"; http.request_body; content:"|22|urls|22|"; http.request_body; content:"|22|crawler_config|22|"; http.request_body; content:"|22|type|22|:|22|CrawlerRunConfig|22|"; http.request_body; content:"|22|params|22|"; http.request_body; content:"|22|extraction_strategy|22|"; http.request_body; content:"|22|type|22|:|22|JsonCssExtractionStrategy|22|"; http.request_body; content:"|22|schema|22|"; http.request_body; content:"|22|name|22|:|22|pwn|22|"; http.request_body; content:"|22|baseSelector|22|:|22|div|22|"; http.request_body; content:"|22|fields|22|"; http.request_body; content:"|22|name|22|:|22|out|22|"; http.request_body; content:"|22|type|22|:|22|computed|22|"; http.request_body; content:"|22|expression|22|:|22|<PAYLOAD FROM §2>|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-53753; classtype:web-application-attack; sid:9198306; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: unclecode crawl4ai exploit attempt (CVE-2026-53753)
id: gg-pocmon-cve-2026-53753-9198306
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53753. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53753
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/crawl'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53753