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.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 0.8.7
0.8.7 (semver)
References
github.com/...awl4ai/security/advisories/GHSA-365w-hqf6-vxfg
github.com/unclecode/crawl4ai
www.vulncheck.com/...ry-file-write-via-output-path-parameter (VulnCheck Advisory: Crawl4AI - Arbitrary File Write via output_path Parameter)