Intel

AIKIDO-2026-11063

crawl4ai is vulnerable to Code Injection

Code InjectionGHSA-qxjp-w3pj-48m7 Published Jun 4, 2026

98

Critical Risk

This Affects:

PYTHONcrawl4ai
0.0.0 - 0.8.6
Fixed in 0.8.7
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.

Who does this affect?

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

Background info

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

How to fix this

Upgrade the crawl4ai library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform