GHSA-qxjp-w3pj-48m7: Crawl4AI: AST Sandbox Escape via gi_frame.f_back Chain - Pre-Auth RCE in Docker API
- Identifiers
- CVE-2026-53753GHSA-qxjp-w3pj-48m7
- Published
- Record updated
- Affected
- crawl4ai <= 0.8.6
- Fixed in
- 0.8.7
- released June 1, 2026, 15 days before disclosure
Summary
Crawl4AI's `_safe_eval_expression()` function, used by computed fields, has an AST validator that blocks only attributes starting with an underscore. Attributes such as `gi_frame`, `f_back` and `f_builtins` pass that check, so a crafted `POST /crawl` request with a `JsonCssExtractionStrategy` schema can walk to the real `__import__` and run arbitrary commands. No authentication is needed because JWT is disabled by default, giving unauthenticated remote code execution inside the Docker container.
Mitigation
Fixed in the patched release: `eval()` was removed from the computed field expression path, `_safe_eval_expression()` and `_SAFE_EVAL_BUILTINS` were deleted, `/config/dump` now takes JSON validated by Pydantic, and the hook_manager sandbox was tightened. Workarounds: upgrade to the patched version; enable JWT authentication via the `CRAWL4AI_API_TOKEN` environment variable; restrict network access to the Docker API.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- crawl4aiPyPILLM dependency since 2024-09-25, 4 tracked dependents
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online