Arbitrary Code Injection Affecting crawl4ai package, versions [,0.9.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-CRAWL4AI-17661143
  • published28 Jun 2026
  • disclosed18 Jun 2026
  • credithoanggxyuuki

Introduced: 18 Jun 2026

NewCVE-2026-57572  (opens in a new tab)
CWE-88  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Crawl4AI to version 0.9.0 or higher.

Overview

Crawl4AI is a 🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & scraper

Affected versions of this package are vulnerable to Arbitrary Code Injection via the browser_config.extra_args parameter in API requests. An attacker can execute arbitrary commands as the container's runtime user by injecting malicious Chromium launch arguments, leading to full read/write access to application data, secrets, environment variables, and potential data exfiltration. This is only exploitable if the Docker API server is left unauthenticated and accessible to attackers.

Workaround

This vulnerability can be mitigated by enabling API authentication, restricting API access, or running the container with a restrictive seccomp profile and disabling the execution of helper binaries.

References

CVSS Base Scores

version 4.0
version 3.1