{"answers":{"affected":"3 open source packages ship an affected version, including crawl4ai and Crawl4AI. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26216 exists.","fix":"Upgrade crawl4ai to 0.8.0 or later.","what":"CVE-2026-26216 is a critical code injection vulnerability in unclecode Crawl4AI, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-26216 and fix it if it is affected.\n\nWhat it is: CVE-2026-26216 is a critical code injection vulnerability in unclecode Crawl4AI, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26216 exists.\n\nAffected packages and fixed versions:\n- crawl4ai (PyPI): affected all versions; fixed in 0.8.0\n- crawl4ai (PyPI): affected all versions; fixed in 0.8.0\n- Crawl4AI (PyPI): affected all versions; fixed in 0.8.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-26216/ (Markdown: https://insights.sbomify.com/CVE-2026-26216/index.md)","id":"CVE-2026-26216","markdown":"https://insights.sbomify.com/CVE-2026-26216/index.md","name":"CVE-2026-26216","record":{"aliases":["GHSA-5882-5rx9-xgxp","PYSEC-2026-33"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Crawl4AI web crawler","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary Python code via the hooks parameter in the Docker API, leading to full server compromise.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"crawl4ai","vendor":"kidocode"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2026-07-25","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-07-25T17:07:31Z","kind":"github_poc","ref":"https://github.com/joaovicdev/EXPLOIT-CVE-2026-26216","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-26216.yaml","stars":null,"title":"Crawl4AI \u003c 0.8.0 - Unauthenticated Remote Code Execution via Hooks Parameter"}],"tier":"weaponised"},"has_fix":true,"headline":"Crawl4AI \u003c 0.8.0 Docker API Unauthenticated Remote Code Execution via Hooks Parameter","id":"CVE-2026-26216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Crawl4AI \u003c 0.8.0 Docker API Local File Inclusion via file URL Handling","id":"CVE-2026-26217"},"packages":[{"ecosystem":"PyPI","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"Crawl4AI","purl":null,"source":"GHSA-5882-5rx9-xgxp"},{"ecosystem":"PyPI","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"crawl4ai","purl":"pkg:pypi/crawl4ai","source":"GHSA-5882-5rx9-xgxp"},{"ecosystem":"PyPI","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"crawl4ai","purl":"pkg:pypi/crawl4ai","source":"PYSEC-2026-33"}],"prev":{"headline":"manga-image-translator Shared API Unsafe Deserialization RCE","id":"CVE-2026-26215"},"products":["Crawl4AI"],"published":"2026-02-12","related":[{"cvss_score":10,"headline":"Crawl4AI: Unauthenticated RCE via Chromium launch-argument injection in browser_config.extra_args","id":"CVE-2026-57572","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":9.8,"headline":"Crawl4AI: AST Sandbox Escape via gi_frame.f_back Chain - Pre-Auth RCE in Docker API","id":"CVE-2026-53753","kev_date_added":null,"published":"2026-06-23"},{"cvss_score":9.6,"headline":"Crawl4AI arbitrary file write via download filename path traversal","id":"CVE-2026-57571","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":9.3,"headline":"Crawl4AI - Authentication Bypass via Hardcoded JWT Signing Key","id":"CVE-2026-56265","kev_date_added":null,"published":"2026-06-21"},{"cvss_score":9.2,"headline":"Crawl4AI - Server-Side Request Forgery via Webhook URLs","id":"CVE-2026-56261","kev_date_added":null,"published":"2026-07-10"},{"cvss_score":9.2,"headline":"Crawl4AI - Arbitrary JavaScript Execution via /execute_js Endpoint","id":"CVE-2026-56264","kev_date_added":null,"published":"2026-06-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["unclecode"]},"summary":"Unauthenticated attackers can execute arbitrary Python code via the hooks parameter in the Docker API, leading to full server compromise.","url":"https://insights.sbomify.com/CVE-2026-26216/"}