CVE-2022-26352: dotCMS ContentResource API Directory Traversal RCE
- Vendor
- Dotcms
CVE-2022-26352 is an unauthenticated directory-traversal flaw in dotCMS ContentResource API multipart upload handling, affecting dotCMS 3.0 through 22.02. The vulnerable POST and PUT content API handlers derive a temporary upload path from the user-controlled multipart filename and copy the uploaded stream without sanitizing traversal sequences. When anonymous Content API write access is enabled, an attacker can escape the intended upload directory and write attacker-controlled files to accessible locations on the dotCMS host. Placement of server-executable content in a web-accessible application location can result in pre-authentication remote code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated attacker can write arbitrary attacker-controlled files outside the intended upload storage location. Depending on filesystem permissions and reachable write locations, this can enable remote code execution by placing executable server-side content in a web-accessible location, or potentially enable compromise through replacement or modification of application artifacts, configuration, scripts, or other system files. Arbitrary file overwrite can also facilitate content tampering and service disruption.
Mitigation
If you can’t patch tonight, do this now.
Disable anonymous Content API write access unless it is operationally required. Restrict access to content-upload endpoints to authenticated, authorized users; place administrative and upload APIs behind network access controls where feasible; and ensure the dotCMS service account cannot write to web roots, application deployment directories, executable artifact locations, or sensitive configuration paths. Monitor for anomalous multipart uploads and unexpected file modifications outside approved content-storage directories.
Remediation
Patch, then assume compromise.
Apply the vendor-provided fixes for CVE-2022-26352. Exact fixed release versions are not available in the supplied information. Verify that all dotCMS instances, including externally exposed instances, have been updated to a release containing the vendor fix.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-26352 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 25, 2022.
- Is there a public exploit for CVE-2022-26352?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2022-26352, the earliest disclosed May 3, 2022.
- Is there a patch for CVE-2022-26352?
- Apply the vendor-provided fixes for CVE-2022-26352. Exact fixed release versions are not available in the supplied information.
- What products are affected by CVE-2022-26352?
- Dotcms.
- How severe is CVE-2022-26352?
- CVE-2022-26352 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 85.5% (100th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.