← Vulnerability feed

Vulnerability record · CVE-2022-26352 · published 17 July 2022

CVE-2022-26352: dotCMS ContentResource API path traversal enables unauthenticated file upload RCE

Dotcms · Dotcms

The ContentResource API in dotCMS 3.0 through 22.02 fails to sanitize the filename in multipart form uploads, allowing directory traversal that writes files outside the intended storage location. When anonymous content creation is enabled, an unauthenticated attacker can upload an executable file such as a .jsp and achieve remote code execution.

9.8 CVSS 3.1 Critical CISA KEV since 25 Aug 2022 Known ransomware use EPSS 92% · top 0.2%
9.8CVSS 3.1 base score, v2 6.8
92%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
5References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityCVSS 9.8, active exploitation per CISA KEV with ransomware use, and very high EPSS make this an urgent patch-first issue.

What it is

The ContentResource API in dotCMS 3.0 through 22.02 fails to sanitize the filename in multipart form uploads, allowing directory traversal that writes files outside the intended storage location. When anonymous content creation is enabled, an unauthenticated attacker can upload an executable file such as a .jsp and achieve remote code execution.

Impact

An attacker can write arbitrary files to attacker-chosen paths on the server and, by uploading a web-accessible executable, run code as the dotCMS process, leading to full compromise of the application and host.

Attack surface

Reachable over the network through the ContentResource API via a crafted multipart form request; the CVSS vector indicates no privileges or user interaction required, though the description notes unauthenticated exploitation depends on anonymous content creation being enabled.

Exploitation

Listed in CISA KEV with a 2022-09-15 remediation due date and flagged for known ransomware campaign use, and EPSS is 0.91553 (99.8th percentile); public exploit code is referenced on Packet Storm.

What to do

  • Upgrade dotCMS to a version later than 22.02 per vendor instructions (KEV required action).
  • Disable anonymous content creation if it is not operationally required.
  • Restrict write permissions on the web root and content storage directories so uploaded files cannot be executed.
  • Block or inspect multipart uploads containing path traversal sequences or executable extensions at the reverse proxy/WAF.
  • Verify no unauthorized files (especially .jsp) exist in web-accessible directories after patching.

Detection

  • Monitor ContentResource API multipart POST requests for filenames containing ../ or absolute paths.
  • Alert on newly created .jsp or other executable files in web-accessible directories.
  • Audit dotCMS logs for file uploads written outside expected storage paths.
  • Watch for unexpected child processes or outbound connections originating from the dotCMS server.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2022-26352 to the Known Exploited Vulnerabilities catalog on 25 August 2022 as "dotCMS Unrestricted Upload of File Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 15 September 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html ExploitThird Party AdvisoryVDB Entry
https://groups.google.com/g/dotcms Permissions RequiredThird Party Advisory
http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html ExploitThird Party AdvisoryVDB Entry
https://groups.google.com/g/dotcms Permissions RequiredThird Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-26352 US Government Resource

Track CVE-2022-26352 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-19138Dotcms unrestricted file upload vulnerabilityUnrestricted Upload of File with Dangerous Type in DotCMS v5.2.3 and earlier allow remote attackers to execute arbitrary code via the component "/src…EPSS 5.7%9.8CVE-2020-6754dotCMS directory traversal and unrestricted file upload enable RCEdotCMS before 5.2.4 is vulnerable to directory traversal that breaks access control on the $TOMCAT_HOME/webapps/ROOT/assets directory. Attackers can …EPSS 95%analysed9.8CVE-2017-5344Dotcms sql injection vulnerabilityAn issue was discovered in dotCMS through 3.6.1. The findChildrenByFilter() function which is called by the web accessible path /categoriesServlet pe…EPSS 6.3%9.8CVE-2016-2355Dotcms sql injection vulnerabilitySQL injection vulnerability in the REST API in dotCMS before 3.3.2 allows remote attackers to execute arbitrary SQL commands via the stName parameter…EPSS 2.1%9.8CVE-2016-8902Dotcms sql injection vulnerabilitySQL injection vulnerability in the categoriesServlet servlet in dotCMS before 3.3.1 allows remote not authenticated attackers to execute arbitrary SQ…EPSS 2.8%9.4CVE-2025-11165Dotcms sql injection vulnerabilityA sandbox escape vulnerability exists in dotCMS’s Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to byp…EPSS 0.31%8.8CVE-2022-45782Dotcms vulnerabilityAn issue was discovered in dotCMS core 5.3.8.5 through 5.3.8.15 and 21.03 through 22.10.1. A cryptographically insecure random generation algorithm f…EPSS 0.64%8.8CVE-2020-18875Dotcms injection vulnerabilityIncorrect Access Control in DotCMS versions before 5.1 allows remote attackers to gain privileges by injecting client configurations via vtl (velocit…EPSS 2.0%

Source: NIST National Vulnerability Database (record CVE-2022-26352), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.