Skip to content
CriticalVulnerability

GHSA-r253-r9jw-qg44: Crawl4AI: Unauthenticated RCE via Chromium launch-argument injection in browser_config.extra_args

Published
Record updated
View JSON
Affected
  • crawl4ai <= 0.8.9
Fixed in
0.9.0
  • released June 18, 2026, on the day of disclosure

Summary

Crawl4AI's Docker API server accepted a request-supplied `browser_config.extra_args`, which was passed into Chromium's launch arguments. An attacker could inject switches such as `--utility-cmd-prefix`, `--renderer-cmd-prefix`, `--gpu-launcher` and `--browser-subprocess-path` together with `--no-zygote` to run an arbitrary command as the container's runtime user, and because the Docker API is unauthenticated by default, a single request is enough. The earlier 0.8.9 fix relied on a denylist limited to proxy and DNS flags and did not cover these switches.

Mitigation

0.9.0 treats `extra_args` as a forbidden field for untrusted request bodies, rejecting any request that sets it with HTTP 400. Workarounds stated in the source: upgrade to 0.9.0, enable authentication with `CRAWL4AI_API_TOKEN` and restrict who can reach the API, and run the container with a restrictive seccomp profile and no ability to exec helper binaries.