CVE-2022-26352: dotCMS Unrestricted Upload of File Vulnerability
Yes. CVE-2022-26352 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 25 August 2022. It is known to have been used in ransomware campaigns. Public exploit code is available: 1 Metasploit module and a Nuclei detection template. EPSS puts the chance of further exploitation attempts in the next 30 days at 91.2%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 25 August 2022
- Used in ransomware
- Yes, known ransomware use
- Public exploit code
- 1 Metasploit module and a Nuclei detection template
- Chance of exploitation (EPSS)
- 91.2% in the next 30 days, higher than 99.8% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 9.8 Critical (version 3.1)
- Affects
- dotCMS dotCMS
- Type of flaw
- Path traversal (CWE-22)
- Published
- 17 July 2022
- US federal patch deadline
- 15 September 2022
What it is
dotCMS ContentResource API contains an unrestricted upload of file with a dangerous type vulnerability that allows for directory traversal, in which the file is saved outside of the intended storage location. Exploitation allows for remote code execution.
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.
Description from the CVE record.
Is CVE-2022-26352 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2022-26352 on 25 August 2022. CISA also marks it as known to be used in ransomware campaigns.
Public exploit code
These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.
| Source | Entry | Published |
|---|---|---|
| Metasploit | DotCMS RCE via Arbitrary File Upload. | |
| Nuclei template | DotCMS - Arbitrary File Upload |
What to do
CISA's required action: Apply updates per vendor instructions.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place dotCMS runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
- Assume it has been scanned. A public Nuclei template exists for this flaw, so finding exposed systems across the internet is automated.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in dotCMS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Sources
- CVE record for CVE-2022-26352
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- groups.google.com (x_refsource_MISC)
- packetstormsecurity.com (x_refsource_MISC)
Machine-readable: /api/cve/CVE-2022-26352.json