漏洞描述
Crawl4AI through 0.8.6 ships a Docker API server that exposes an unauthenticated /crawl endpoint. The computed field type of JsonCssExtractionStrategy evaluates a user supplied expression inside an AST based sandbox that does not restrict attribute access on generator frame objects. A generator expression can therefore reach gi_frame.f_back, walk the caller chain to f_builtins, recover __import__ and execute arbitrary operating system commands as the user running the container.
影响产品
暂无结构化产品信息。
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/unclecode/crawl4ai/security/advisories/GHSA-qxjp-w3pj-48m7↗github.comhttps://github.com/unclecode/crawl4ai/pull/1855↗github.comhttps://github.com/unclecode/crawl4ai/pull/1886↗github.comhttps://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-319.yaml↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-53753↗