Description
Crawl4AI before 0.8.7 contains an arbitrary file write vulnerability in the Docker API server's /screenshot and /pdf endpoints. The output_path parameter accepts arbitrary filesystem paths without validation, allowing an attacker to supply absolute or path-traversal values to write to any location writable by the application's user, overwriting server files and causing denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Crawl4AI | Crawl4AI | < 0.8.7 | 0.8.7 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | crawl4ai | < 0.8.7 | 0.8.7 | GHSA-365w-hqf6-vxfg |
References
- GitHub Security Advisory (GHSA-365w-hqf6-vxfg) vendor-advisory
- https://github.com/unclecode/crawl4ai product
- VulnCheck Advisory: Crawl4AI - Arbitrary File Write via output_path Parameter third-party-advisory