{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-26352 in the wild since at least 25 Aug 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2022-26352 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 15 Sep 2022.","what":"CVE-2022-26352 is a critical path traversal vulnerability in Dotcms Dotcms, published on 17 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-26352 and fix it if it is affected.\n\nWhat it is: CVE-2022-26352 is a critical path traversal vulnerability in Dotcms Dotcms, published on 17 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-26352 in the wild since at least 25 Aug 2022, including in ransomware campaigns.\n\nAffected product: Dotcms Dotcms. 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-2022-26352/ (Markdown: https://insights.sbomify.com/CVE-2022-26352/index.md)","id":"CVE-2022-26352","markdown":"https://insights.sbomify.com/CVE-2022-26352/index.md","name":"CVE-2022-26352","record":{"aliases":["GHSA-pr6q-gfg3-vcjf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"dotCMS","requires_auth":"none","summary":"Unauthenticated attackers can upload executable files via directory traversal in dotCMS if anonymous content creation is enabled, leading to remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dotcms","vendor":"dotcms"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"An issue was discovered in the ContentResource API in dotCMS 3.0 through 22.02. Attackers can craft a multipart form request to post a file whose filename is not initially sanitized. This allows directory traversal, in which the file is saved outside of the intended storage location. If anonymous content creation is enabled, this allows an unauthenticated attacker to upload an executable file, such as a .jsp file, that can lead to remote code execution.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-05-03","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":1,"refs":[{"date":"2022-05-03","kind":"metasploit","ref":"exploit/multi/http/dotcms_file_upload_rce","stars":null,"title":"DotCMS RCE via Arbitrary File Upload."},{"date":null,"kind":"nuclei","ref":"http/cves/2022/CVE-2022-26352.yaml","stars":null,"title":"DotCMS - Arbitrary File Upload"}],"tier":"exploited"},"has_fix":false,"headline":"dotCMS Unrestricted Upload of File","id":"CVE-2022-26352","indexable":true,"kev":{"dateAdded":"2022-08-25","dueDate":"2022-09-15","knownRansomwareCampaignUse":"Known","product":"dotCMS","requiredAction":"Apply updates per vendor instructions.","vendorProject":"dotCMS","vulnerabilityName":"dotCMS Unrestricted Upload of File Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"dotcms:dotcms","products":["dotcms:dotcms"],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Memory corruption in qemu-kvm","id":"CVE-2022-26353"},"packages":[],"prev":{"headline":"Delta Electronics DIAEnergie SQL Injection in DIAE_eccoefficientHandler.ashx","id":"CVE-2022-26349"},"products":["n/a"],"published":"2022-07-17","related":[{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2020-19138","kev_date_added":null,"published":"2021-09-08"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2020-6754","kev_date_added":null,"published":"2020-02-05"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2017-5344","kev_date_added":null,"published":"2017-02-17"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2016-2355","kev_date_added":null,"published":"2016-12-19"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2016-8902","kev_date_added":null,"published":"2016-11-14"},{"cvss_score":9.4,"headline":"Code injection in dotCMS","id":"CVE-2025-11165","kev_date_added":null,"published":"2026-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Unauthenticated attackers can upload executable files via directory traversal in dotCMS if anonymous content creation is enabled, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2022-26352/"}