cvelo
P2 · HighCVSS 8.6

Privilege escalation to administrator through Login As

  • CVE-2026-120098
  • EUVD-2026-144661

Description

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.

Text from the CVE.org record.

Recommendation

  • dotCMS

    • If you run a version before 26.10.28-03update to 26.10.28-03 or later
    • If you run a version from 25.07.10 to before 25.07.10_lts_v28update to 26.10.28-03 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • dotCMS

    Affected versionsFixed in
    before 26.10.28-0326.10.28-03
    from 25.07.10 to before 25.07.10_lts_v2826.10.28-03

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.