CVE-2022-26352: dotCMS Unrestricted Upload of File Vulnerability
CVE-2022-26352 is a critical-severity flaw (CVSS 9.8) affecting dotcms, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 exe
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 91.2% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-15, used in ransomware |
| Published | 2022-07-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: groups.google.com/g/dotcms
- Metasploit: DotCMS RCE via Arbitrary File Upload.
- Nuclei scan template: DotCMS - Arbitrary File Upload
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-26352?
dotcms: upgrade to newer than 22.02. Exact commands for each OS are on this page.
Is CVE-2022-26352 being exploited?
Yes. CVE-2022-26352 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-26352 affect?
CVE-2022-26352 affects dotcms. Severity is critical (CVSS 9.8). 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 sav
How urgent is CVE-2022-26352?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2020-35274 MEDIUM 4.8 DOWNGRADE DotCMS Add Template with admin panel 20.11 is affected by cross-site Scripting (XSS) to gain remote privileges
- CVE-2025-11165 CRITICAL 9.9 UPGRADE A sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated
- CVE-2024-3938 MEDIUM 5.4 UPGRADE The "reset password" login page accepted an HTML injection via URL parameters. This has already been rectifie
- CVE-2024-3165 MEDIUM 4.5 UPGRADE System->Maintenance-> Log Files in dotCMS dashboard is providing the username/password for database connection
- CVE-2024-3164 MEDIUM 4.5 UPGRADE In dotCMS dashboard, the Tools and Log Files tabs under System → Maintenance Portlet, which is and always has