GHSA-7CX2-G3H9-382P: GHSA-7CX2-G3H9-382P: Multiple Vulnerabilities in Crawl4AI Docker API (Arbitrary File Write, SSRF, CRLF Log Injection)
GHSA-7CX2-G3H9-382P: Multiple Vulnerabilities in Crawl4AI Docker API (Arbitrary File Write, SSRF, CRLF Log Injection) Vulnerability ID: GHSA-7CX2-G3H9-382P CVSS Score: 8.1 Published: 2026-06-16 An in-depth technical
GHSA-7CX2-G3H9-382P: Multiple Vulnerabilities in Crawl4AI Docker API (Arbitrary File Write, SSRF, CRLF Log Injection)
Vulnerability ID: GHSA-7CX2-G3H9-382P
CVSS Score: 8.1
Published: 2026-06-16
An in-depth technical analysis of multiple security vulnerabilities in the self-hosted Docker API server of Crawl4AI up to version 0.8.7. These flaws include a critical arbitrary file write via symlink traversal and TOCTOU weakness, CRLF log injection, webhook header injection, and SSRF filter gaps. These have been remediated in version 0.8.8.
TL;DR
Crawl4AI <= 0.8.7 suffers from path traversal via symlink resolution bypasses, leading to arbitrary file write and potential RCE. It also lacks validation for log streams and webhook headers, allowing log manipulation and request smuggling. Version 0.8.8 addresses these issues.
⚠️ Exploit Status: POC
Technical Details
- CWE ID: CWE-59 (Link Following), CWE-22 (Path Traversal)
- Attack Vector: Network (AV:N)
- CVSS v3.1 Score: 8.1 (High)
- EPSS Score: N/A (GitHub Security Advisory)
- Impact: Arbitrary File Write / Remote Code Execution
- Exploit Status: poc
- KEV Status: Not Listed
Affected Systems
- Crawl4AI self-hosted Docker API server deployments <= 0.8.7
-
crawl4ai: <= 0.8.7 (Fixed in:
0.8.8)
Code Analysis
Commit: aa81e8f
Security hardening for docker deployment including path traversal, symlink tracking, log filtering, webhook header verification, and SSRF blocking.
Exploit Details
- GitHub Security Advisory Database: Responsible disclosure of Arbitrary File Write, SSRF, and credential exfiltration vulnerabilities.
Mitigation Strategies
- Upgrade Crawl4AI deployments to version 0.8.8 or later.
- Run the container with a read-only root filesystem (--read-only).
- Configure secure API tokens using the CRAWL4AI_API_TOKEN environment variable.
- Restrict file permissions and implement non-root execution profiles for Docker runtimes.
Remediation Steps:
- Execute 'pip install -U crawl4ai>=0.8.8' to patch Python-based environments.
- Rebuild Docker dependencies with the latest images containing the version 0.8.8 fixes.
- Enable token-based authentication on the crawl endpoints.
- Implement security filters on log handlers to prevent control character forwarding.
References
- GitHub Advisory Database Record
- Fix Patch Commit (Crawl4AI)
- Version 0.8.7 ... 0.8.8 Code Comparison
- Crawl4AI Official Issue Tracker
- Crawl4AI Pull Request Fix Reference
Read the full report for GHSA-7CX2-G3H9-382P on our website for more details including interactive diagrams and full exploit analysis.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.