Crawl4AI: AST Sandbox Escape via gi_frame.f_back Chain - Pre-Auth RCE in Docker API
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| unclecode | crawl4ai | before 0.8.7 | 0.8.7 | Patch available | CNA |
| — | crawl4ai (PyPI) | before 0.8.7 | 0.8.7 | Patch available | GHSA-qxjp-w3pj-48m7 |
- crawl4ai Vendorunclecode Affected before 0.8.7 Fixed in 0.8.7 Patch available CNA
- crawl4ai (PyPI) Vendor— Affected before 0.8.7 Fixed in 0.8.7 Patch available GHSA-qxjp-w3pj-48m7
Remediation
- Fix · CNA crawl4ai (unclecode) Fixed in 0.8.7
- Fix · GHSA-qxjp-w3pj-48m7 crawl4ai (PyPI) Fixed in 0.8.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-53753
- 2026-10-03 Alias added: GHSA-qxjp-w3pj-48m7
References
Advisory 3
More unclecode Crawl4ai vulnerabilities
- TI-2026-40630 Crawl4AI - Authentication Bypass via Hardcoded JWT Signing Key CVSS 4.0CRITICAL 9.3
- TI-2026-21207 Crawl4AI < 0.8.0 Docker API Unauthenticated Remote Code Execution via Hooks Parameter CVSS 4.0CRITICAL 10.0
- TI-2026-41423 Crawl4AI: Unauthenticated RCE via Chromium launch-argument injection in browser_config.extra_args CVSS 3.1CRITICAL 10.0
- TI-2026-21208 Crawl4AI < 0.8.0 Docker API Local File Inclusion via file URL Handling CVSS 4.0CRITICAL 9.2
- TI-2026-40631 Crawl4AI - Server-Side Request Forgery via Direct Crawl Endpoints CVSS 4.0CRITICAL 9.2
- TI-2025-20742 Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py. CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-53753 · CVE Program
- CVE-2026-53753 · NVD
- FIRST EPSS
- GHSA-qxjp-w3pj-48m7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences