What is dotCMS?
dotCMS is an open-source Java-based content management system (CMS) and digital experience platform used by enterprises and media companies to manage web content, marketing campaigns, and digital assets. The platform provides REST APIs for content management, including file upload functionality for managing media assets and attachments. dotCMS is deployed both on-premises and in cloud environments.
Overview
CVE-2022-26352 is a pre-authentication remote code execution vulnerability in dotCMS arising from an unrestricted file upload combined with path traversal in the ContentResource API. An unauthenticated attacker can upload a file with a malicious filename containing path traversal sequences (../), causing the uploaded file to be saved outside the intended upload directory — specifically into a web-accessible location. By uploading a server-side script file to a web-accessible path, the attacker achieves arbitrary code execution on the server. CVSS 9.8, with ransomwareUse: true indicating confirmed ransomware deployment.
Affected Versions
| Version | Status |
|---|---|
| dotCMS prior to 22.03 | Vulnerable |
| dotCMS 22.03 and later | Fixed |
Technical Details
The ContentResource API in dotCMS allows uploading binary files (images, documents, media assets) to the CMS content repository. The vulnerability combines two weaknesses:
- Missing authentication: The upload endpoint accepts file uploads without requiring a valid user session
- Path traversal in filename handling: The API processes the uploaded filename without sanitizing directory traversal sequences, allowing the file to be written to arbitrary filesystem locations
An attacker submits a crafted multipart upload request where the filename contains ../ sequences to traverse out of the intended upload directory and place a server-side script file into the Tomcat webapps/ROOT directory or another web-accessible location. Once the script file is in a web-accessible path, the attacker triggers execution by sending an HTTP request to it, achieving arbitrary OS command execution with the privileges of the application server process.
Discovery
Discovered by security researchers and reported to dotCMS via their security disclosure program. dotCMS released a patch in version 22.03.
Exploitation Context
CMS platforms are attractive targets because they are internet-facing by design and often contain:
- Customer data and PII
- Marketing credentials and third-party service API keys
- Payment processing integrations
- Administrative access to website content
The ransomwareUse: true designation indicates ransomware operators used this vulnerability to gain initial access to organizations running dotCMS, likely using webshell placement for reconnaissance and credential harvesting before deploying ransomware payloads for maximum impact.
Remediation
- Upgrade to dotCMS 22.03 or later: The patch adds proper authentication requirements and filename sanitization to the ContentResource API.
- Review web-accessible directories: Check the dotCMS webroot and Tomcat
webappsdirectory for unexpected script files that may be webshells from previous exploitation. - Implement WAF rules: Block multipart upload requests containing
../path traversal sequences in filenames. - Restrict content API access: If unauthenticated content API access is not required, enforce authentication on the
/api/v1/contentendpoint. - Audit upload directory: Review all recently uploaded files for suspicious content — unexpected server-side script files are indicators of compromise.
- Incident response: If pre-patch exposure is suspected, treat as potentially compromised. Check for credential dumping, lateral movement indicators, and data exfiltration before ransomware may have been staged.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2022-26352 |
| Vendor / Product | dotCMS — dotCMS |
| NVD Published | 2022-07-17 |
| NVD Last Modified | 2025-11-03 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CISA KEV Added | 2022-08-25 |
| CISA KEV Deadline | 2022-09-15 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2022-07-17 | CVE published; dotCMS released patched version 22.03 |
| 2022-08-25 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-09-15 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2022-26352 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| dotCMS Security Advisory SI-62 | Vendor Advisory |