PT-2026-51404 · Crawl4Ai · Crawl4Ai

·

CVE-2026-56266

·

Published

2026-06-16

·

Updated

2026-07-12

CVSS v4.0

9.2

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Crawl4AI versions prior to 0.8.7
Description Multiple security issues affect the Crawl4AI Docker API server. The software is susceptible to Server-Side Request Forgery (SSRF), a condition where an attacker can induce the server to make requests to an unintended location, through the '/crawl', '/crawl/stream', '/md', '/llm', '/crawl/job', and '/llm/job' endpoints. Attackers can bypass internal-address blocklists using IPv6-mapped IPv4 addresses to access internal services, Docker networks, and cloud metadata endpoints. Additionally, the '/screenshot' and '/pdf' endpoints allow arbitrary file writes via the output path parameter, enabling the overwriting of server files. The '/execute js' endpoint allows arbitrary JavaScript execution in the server's browser. Other issues include an authentication bypass on monitor endpoints, stored Cross-Site Scripting (XSS) in the monitor dashboard, and a hardcoded JWT secret key that allows the forgery of authentication tokens.
Recommendations Update to version 0.8.7 or later. Set CRAWL4AI API TOKEN to enable authentication. Set a strong SECRET KEY with at least 32 characters if using JWT. Restrict network access to the Docker API. As a temporary mitigation, disable the /execute js endpoint using the CRAWL4AI EXECUTE JS ENABLED environment variable.

Exploit

Fix

SSRF

Path traversal

Missing Authentication

Using Hardcoded Credentials

Code Injection

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-56266
GHSA-365W-HQF6-VXFG
GHSA-53RG-46CM-4G2V
GHSA-8QRG-7J2F-RF2H
GHSA-F23G-2F38-GG94
GHSA-G2PV-76HM-J4X9
GHSA-R9HW-78Q5-478G
GHSA-XRFJ-6M49-WFMM
PYSEC-2026-229
PYSEC-2026-230
PYSEC-2026-239
PYSEC-2026-3443
PYSEC-2026-3449
PYSEC-2026-596
PYSEC-2026-798

Affected Products

Crawl4Ai