CVE-2026-120098 — dotCMS
One of 107 dotCMS vulnerabilities published together by NVD: our article covers all of them.
WebVulnerabilitiesSummary
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.
Severity breakdown
High · 8.6
An attacker with administrator rights can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-863: Incorrect Authorization
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| dotCMS | < 26.10.28-03 | 26.10.28-03 |
| ≥ 25.07.10, < 25.07.10_lts_v28 | 25.07.10_lts_v28 |
References by type
Other references
Affected
- dotCMS
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-120098?
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. Weakness type: Incorrect Authorization (CWE-863).
How severe is CVE-2026-120098?
CVE-2026-120098 has a CVSS 4.0 base score of 8.6 (high), from the CNA (dotcms.com). An attacker with administrator rights can exploit this over the network, without any user action.
Is CVE-2026-120098 being exploited?
Not as far as is known: CVE-2026-120098 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.
Which versions are affected by CVE-2026-120098?
dotCMS < 26.10.28-03 (fixed in 26.10.28-03); dotCMS ≥ 25.07.10, < 25.07.10_lts_v28 (fixed in 25.07.10_lts_v28).
How do I fix CVE-2026-120098?
Update to a fixed release: dotCMS 26.10.28-03; dotCMS 25.07.10_lts_v28.