Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEUPGRADE

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 score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance91.2% (top 1%)
CISA exploited listYes, fix due 2022-09-15, used in ransomware
Published2022-07-17
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: dotcms

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

dotcms dotcms UPGRADE
Affected: >= 3.0 and <= 22.02
Fixed in: newer than 22.02
Safe to downgrade to: a release before 3.0
1. Check installed version
apt-cache policy dotcms || rpm -q dotcms || dotcms --version
2. UPGRADE to newer than 22.02 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade dotcms
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade dotcms
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 3.0 (Debian / Ubuntu)
apt-cache madison dotcms sudo apt install dotcms=<VERSION_BEFORE_3.0> sudo apt-mark hold dotcms
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list dotcms sudo dnf downgrade dotcms-<VERSION_BEFORE_3.0> sudo dnf versionlock add dotcms
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora ELN · luksmeta · FIXED · 11-3.eln159 · FEDORA-2026-5176083b78 · source
sudo dnf upgrade --advisory=FEDORA-2026-5176083b78
Fedora 46 · openscad · FIXED · 2021.01-34.fc46 · FEDORA-2026-faf1721128 · source
sudo dnf upgrade --advisory=FEDORA-2026-faf1721128

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.