CVE-2026-120098 - Privilege escalation to administrator through Login As
Vulnerability · Reported by NVD · · CWE-863
- Severity
- High Risk score 86/100
- CVSS
- 8.6 v4.0 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a incorrect authorization flaw (CWE-863). An attacker can exploit this vulnerability remotely over the network, only with administrator-level privileges, and without any action from a user. Attack complexity is low, so no special conditions are needed.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
priv-esc, CVE-2026-120098
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-120098 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.