Description
Improper authorization in the ToolGroupResource and RoleAjax REST/DWR endpoints in dotCMS dotCMS 21.02 through 26.06.22-03 on all platforms allows a low-privileged authenticated backend user to self-assign the administrative layout and self-grant the CMS Administrator role, then achieve remote code execution via a crafted OSGi bundle upload whose BundleActivator executes arbitrary shell commands.
Published: 2026-07-20
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An improper authorization flaw in dotCMS’s ToolGroupResource and RoleAjax endpoints permits a low‑privileged authenticated backend user to assign the administrative layout to themselves and grant the CMS Administrator role. Once elevated, the user can upload a crafted OSGi bundle whose BundleActivator executes arbitrary shell commands, resulting in remote code execution. The core weakness is a privilege escalation scenario (CWE‑269).

Affected Systems

dotCMS dotCMS, versions 21.02 through 26.06.22‑03 on all platforms. Any deployment of dotCMS within this version range is vulnerable.

Risk and Exploitability

The flaw carries a CVSS score of 9.4, indicating critical severity. The EPSS score is < 1%, indicating a very low but non‑zero exploitation probability. The vulnerability is not listed in the CISA KEV catalog. The attack scenario requires an authenticated user with limited privileges, followed by the ability to upload an OSGi bundle. If exploited, the attacker can gain full control over the application host by executing arbitrary shell commands.

Generated by OpenCVE AI on August 3, 2026 at 01:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Restrict administrative layout assignments so that only users with the CMS Administrator role can assign the administrative layout.
  • Ensure that role assignments, particularly granting the Administrator role, are limited to users with CMS Administrator privileges.
  • Disable or sandbox OSGi bundle uploads, so that BundleActivator code cannot execute arbitrary shell commands.

Generated by OpenCVE AI on August 3, 2026 at 01:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Mon, 03 Aug 2026 01:30:00 +0000

Type Values Removed Values Added
Title dotCMS Authorization Bypass Enables Remote Code Execution via OSGi Bundle Upload

Mon, 27 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Title dotCMS Authorization Bypass Enables Remote Code Execution via OSGi Bundle Upload

Fri, 24 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Title Unrestricted Admin Role Grant Leads to Remote Code Execution in dotCMS

Tue, 21 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Title Unrestricted Admin Role Grant Leads to Remote Code Execution in dotCMS

Tue, 21 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Dotcms
Dotcms dotcms
Vendors & Products Dotcms
Dotcms dotcms

Mon, 20 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description Improper authorization in the ToolGroupResource and RoleAjax REST/DWR endpoints in dotCMS dotCMS 21.02 through 26.06.22-03 on all platforms allows a low-privileged authenticated backend user to self-assign the administrative layout and self-grant the CMS Administrator role, then achieve remote code execution via a crafted OSGi bundle upload whose BundleActivator executes arbitrary shell commands.
Weaknesses CWE-269
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: dotCMS

Published:

Updated: 2026-07-21T12:45:11.144Z

Reserved: 2026-07-20T18:20:45.781Z

Link: CVE-2026-16337

cve-icon Vulnrichment

Updated: 2026-07-21T12:45:02.717Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T01:15:03Z

Weaknesses
  • CWE-269

    Improper Privilege Management