Intel

AIKIDO-2026-11063

crawl4ai is vulnerable to Code Injection

CVE-2026-53753Published Jun 4, 2026
June 4, 2026

98

CVE Score

Critical

Code Injection

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the crawl4ai library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.0 - 0.8.6

Fixed in 0.8.7

Background info

crawl4ai is vulnerable to Code Injection in versions 0.0.0 - 0.8.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea