# CVE-2022-26352: dotCMS Unrestricted Upload of File Vulnerability

Source: https://junglewise.ai/threats/cve-2022-26352-dotcms-unrestricted-upload-of-file-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-25. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2022-26352 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2022-08-25

The dotCMS ContentResource API fails to sanitize filenames in multipart form requests, allowing for directory traversal during file uploads. An unauthenticated attacker can exploit this to upload executable files (e.g., .jsp) outside the intended storage directory, leading to remote code execution.

Technologies: [dotCMS](https://junglewise.ai/threats/technologies/dotcms). Vendors: [dotCMS](https://junglewise.ai/threats/vendors/dotcms).

## Quick answers

**Is CVE-2022-26352 exploited in the wild?** Yes. CVE-2022-26352 is known to be exploited in the wild, first recorded on 25 August 2022. Treat it as urgent.

**How severe is CVE-2022-26352?** Critical severity, with a CVSS score of 9.8, published 25 August 2022.

**Which products and versions are affected?** dotCMS dotCMS 3.0 through 22.02.

**Is there a fix for CVE-2022-26352?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2022-26352 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2022-26352?** Check whether you run dotCMS. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- dotCMS dotCMS 3.0 through 22.02

## Timeline

- 2022-07-17: disclosed: NVD Published Date
- 2022-08-25: kev added: Date added to CISA Known Exploited Vulnerabilities Catalog
- 2022-08-25: advisory: Published date provided in advisory title
- 2022-08-25: exploited: Reported as exploited in the wild and added to CISA KEV

## Related threats

- [dotCMS privilege escalation and RCE in ToolGroupResource and RoleAjax](https://junglewise.ai/threats/cve-2026-16337-dotcms-privilege-escalation-and-rce-in-toolgroupresource-and)
- [dotCMS Core SQL injection in Publish Audit API](https://junglewise.ai/threats/cve-2026-8054-dotcms-core-sql-injection-in-publish-audit-api)
