freenode

← CVE tracker

CVE-2026-120098

Privilege escalation to administrator through Login As

Severity
high CVSS 8.6 (v4.0)
Affects
dotCMS
Weakness
CWE-863 Incorrect Authorization · OWASP A01:2021 Broken Access Control
Published
4 December 2026 by dotCMS
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.