Privilege escalation to administrator in dotCMS Login As feature
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
dotCMS versions before 26.10.28-03 and from 25.07.10 before 25.07.10_lts_v28 are affected. Improper authorization (CWE-863) in the Login As feature lets an authenticated backend user with the Login As role, but not administrator rights, impersonate an Administrator or CMS Administrator account and gain full administrative access. The same versions also placed no upper limit on the lifetime of API tokens users could issue for themselves.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
Improper authorization in the Login As feature (/api/v1/users/loginas) in dotCMS versions before 26.10.28-03 allows an authenticated backend user who holds the Login As role, but is not an administrator, to impersonate an Administrator or CMS Administrator account and gain full administrative access. The same versions placed no upper limit on the lifetime of API tokens a user could issue for themselves. Fixed in 26.10.28-03 and later. Login As to an administrator account now also requires the impersonating user to be an administrator (property LOGIN_AS_ADMIN_REQUIRES_ADMIN, default true), newly issued API tokens are capped by json.web.token.max.allowed.expiration.days (default now 365 days), and an invalid token network restriction is rejected instead of producing an unrestricted token.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dotCMS | dotCMS | before 26.10.28-03; 25.07.10 to before 25.07.10_lts_v28 | 26.10.28-03, 25.07.10_lts_v28 | Patch available | CNA |
- dotCMS VendordotCMS Affected before 26.10.28-03; 25.07.10 to before 25.07.10_lts_v28 Fixed in 26.10.28-03, 25.07.10_lts_v28 Patch available CNA
Remediation
Upgrade to dotCMS 26.10.28-03 or 25.07.10_lts_v28. The fixed versions require the impersonating user to be an administrator to log in as an administrator account, and they cap newly issued API tokens by json.web.token.max.allowed.expiration.days (default 365 days).
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA dotCMS (dotCMS) Fixed in 26.10.28-03, 25.07.10_lts_v28
Timeline
- 2026-12-04 Threatist record created from CVE-2026-120098
References
Advisory 1
More dotCMS vulnerabilities
- TI-2022-09726 Directory traversal in dotCMS ContentResource API allows file upload KEVCVSS 3.1CRITICAL 9.8
- TI-2020-05479 dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access… CVSS 3.1CRITICAL 9.8
- TI-2026-104432 Velocity sandbox escape in dotCMS lets template authors run code CVSS 4.0CRITICAL 9.4
- TI-2026-104360 Remote code execution in dotCMS through push publishing CVSS 4.0CRITICAL 9.4
- TI-2026-104356 Velocity sandbox escape in dotCMS allows command execution CVSS 4.0CRITICAL 9.4
- TI-2026-104355 RCE via WebDAV path traversal by any authenticated user CVSS 4.0CRITICAL 9.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences