{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-91940 exists.","fix":"No fix has been published for CVE-2026-91940 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-91940 is a high-severity path traversal vulnerability in unclecode crawl4ai, published on 15 Sep 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-91940 and fix it if it is affected.\n\nWhat it is: CVE-2026-91940 is a high-severity path traversal vulnerability in unclecode crawl4ai, published on 15 Sep 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-91940 exists.\n\nAffected product: unclecode crawl4ai. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-91940/ (Markdown: https://insights.sbomify.com/CVE-2026-91940/index.md)","id":"CVE-2026-91940","markdown":"https://insights.sbomify.com/CVE-2026-91940/index.md","name":"CVE-2026-91940","record":{"aliases":["GHSA-86m6-ccmv-j88p","GHSA-xpp7-j28w-2gvx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web crawler library","requires_auth":"none","summary":"Attackers can write arbitrary files to any accessible directory via crafted configuration paths in the PDF scraping strategy, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"crawl4ai before 0.9.3 contains an arbitrary file write vulnerability in PDFContentScrapingStrategy where the _filter_untrusted_fields function fails to validate untrusted configuration fields. Attackers can submit crafted config bodies with malicious image_save_dir paths to write attacker-controlled bytes into any directory accessible to the service account.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-10-08","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-08T20:54:07Z","kind":"github_poc","ref":"https://github.com/BiiTts/CVE-2026-91940-crawl4ai-Arbitrary-File-Write","stars":0,"title":"CVE-2026-91940: arbitrary file write in crawl4ai \u003c=0.9.2 via the untrusted-config gate (PDFContentScrapingStrategy image_save_dir). Analysis, reproduction harness and verified 0.9.2 vs 0.9.3 boundary."}],"tier":"weaponised"},"has_fix":false,"headline":"crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy","id":"CVE-2026-91940","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Crawl4AI before 0.9.3 Denial of Service via PDFContentScrapingStrategy","id":"CVE-2026-91941"},"packages":[],"prev":{"headline":"Cotonti 1.0.0 Comments Plugin PHP Object Injection via ci Parameter","id":"CVE-2026-91939"},"products":["crawl4ai"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["unclecode"]},"summary":"Attackers can write arbitrary files to any accessible directory via crafted configuration paths in the PDF scraping strategy, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-91940/"}