Privilege escalation to administrator through Velocity session attributes and Logout As
- CVE-2026-120103
- EUVD-2026-144666
Summary
CVE-2026-120103 (CVSS 8.7) is a privilege escalation flaw in dotCMS versions before 26.10.28-02. Improper authorization in the Logout As REST endpoint, combined with weak restrictions on session attributes that Velocity code can write, lets an authenticated backend user who can author Velocity that renders in their own session switch to any user, including a CMS Administrator. This works without the Login As role or the target's password. The fix in 26.10.28-02 and later restores a user through Logout As only from an active Login As session record that Velocity code cannot create or change. The record does not state whether it is in the CISA known exploited list, which is marked no.
AI summary · verify against the vendor advisory
Description
Improper authorization in the Logout As REST endpoint (/api/v1/users/logoutas), combined with insufficient restrictions on the session attributes that Velocity code can write, in dotCMS versions before 26.10.28-02 allows an authenticated backend user who can author Velocity that renders in their own session (for example widget code, containers, templates or VTL files) to switch their session to any user, including a CMS Administrator, without holding the Login As role or knowing that user's password. Fixed in 26.10.28-02 and later. Logout As now restores a user only from an active Login As session record that Velocity code cannot create or change.
Text from the CVE.org record.
Recommendation
dotCMS
- If you run a version before 26.10.28-02update to 26.10.28-02 or later
- If you run a version from 25.07.10 to before 25.07.10_lts_v26update to 26.10.28-02 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 versions Fixed in before 26.10.28-02 26.10.28-02 from 25.07.10 to before 25.07.10_lts_v26 26.10.28-02
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.