{"id":"CVE-2026-26217","aliases":["CVE-2026-26217","GHSA-vx9w-5cx4-9796","PYSEC-2026-34"],"related":[],"kind":"vulnerability","state":"published","title":"Crawl4AI < 0.8.0 Docker API Local File Inclusion via file URL Handling","summary":"Crawl4AI versions prior to 0.8.0 contain a local file inclusion vulnerability in the Docker API deployment. The /execute_js, /screenshot, /pdf, and /html endpoints accept file:// URLs, allowing unauthenticated remote attackers to read arbitrary files from the server filesystem. An attacker can access sensitive files such as /etc/passwd, /etc/shadow, application configuration files, and environment variables via /proc/self/environ, potentially exposing credentials, API keys, and internal application structure.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Crawl4AI versions prior to 0.8.0 contain a local file inclusion vulnerability in the Docker API deployment. The /execute_js, /screenshot, /pdf, and /html endpoints accept file:// URLs, allowing unauthenticated remote attackers to read arbitrary files from the server filesystem. An attacker can access sensitive files such as /etc/passwd, /etc/shadow, application configuration files, and environment variables via /proc/self/environ, potentially exposing credentials, API keys, and internal application structure.","source":"cvelist"},{"lang":"en","text":"A local file inclusion vulnerability exists in the Crawl4AI Docker API. The /execute_js, /screenshot, /pdf, and /html endpoints accept file:// URLs, allowing attackers to read arbitrary files from the server filesystem.\n\nAttack Vector:\n```json\nPOST /execute_js\n{\n    \"url\": \"file:///etc/passwd\",\n    \"scripts\": [\"document.body.innerText\"]\n}\n```\nImpact\n\nAn unauthenticated attacker can:\n- Read sensitive files (/etc/passwd, /etc/shadow, application configs)\n- Access environment variables via /proc/self/environ\n- Discover internal application structure\n- Potentially read credentials and API keys\n\nWorkarounds\n\n1. Disable the Docker API\n2. Add authentication to the API\n3. Use network-level filtering","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de Crawl4AI anteriores a la 0.8.0 contienen una vulnerabilidad de inclusión de archivos locales en la implementación de la API de Docker. Los puntos finales /execute_js, /screenshot, /pdf y /html aceptan URL file://, lo que permite a atacantes remotos no autenticados leer archivos arbitrarios del sistema de archivos del servidor. Un atacante puede acceder a archivos confidenciales como /etc /passwd, /etc /shadow, archivos de configuración de aplicaciones y variables de entorno a través de /proc/self /environ, lo que podría exponer credenciales, claves API y la estructura interna de la aplicación.","source":"nvd"}],"published":"2026-01-16T20:58:51.000Z","modified":"2026-11-08T14:01:32.786Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.8.0","status":"affected"}],"vendor":"unclecode","product":"Crawl4AI","package":"crawl4ai","repo":"https://github.com/unclecode/crawl4ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.0"}],"ecosystem":"PyPI","package":"crawl4ai","purl":"pkg:pypi/crawl4ai","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.8.0"}],"vendor":"kidocode","product":"crawl4ai","cpe":"cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.0"}],"ecosystem":"PyPI","package":"crawl4ai","purl":"pkg:pypi/crawl4ai","source":"pysec"}],"references":[{"url":"https://github.com/unclecode/crawl4ai/security/advisories/GHSA-vx9w-5cx4-9796","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.md","tags":["advisory","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/crawl4ai-docker-api-local-file-inclusion-via-file-url-handling","tags":["advisory","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26217","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-34.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/unclecode/crawl4ai","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/unclecode/crawl4ai/blob/release/v0.8.0/docs/blog/release-v0.8.0.md","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/unclecode/crawl4ai/blob/release/v0.8.0/docs/migration/v0.8.0-upgrade-guide.md","tags":["web"],"sources":["ghsa"]}],"credits":["Neo by ProjectDiscovery (https://neo.projectdiscovery.io)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-02-12T15:52:49.030Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26217","url":"https://www.cve.org/CVERecord?id=CVE-2026-26217","licence":"CVE Terms of Use","modified":"2026-11-08T14:01:32.786Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vx9w-5cx4-9796","url":"https://github.com/advisories/GHSA-vx9w-5cx4-9796","licence":"CC-BY-4.0","modified":"2026-06-05T15:00:06.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26217","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26217","licence":"Public domain","modified":"2026-10-08T16:17:12.087Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-34","url":"https://osv.dev/vulnerability/PYSEC-2026-34","licence":"CC-BY-4.0","modified":"2026-05-20T09:18:55.806Z"}],"updatedAt":"2026-11-25T22:59:13.823Z","epss":{"score":0.02067,"percentile":0.81944,"date":"2026-12-01T12:00:22.000Z"}}