CVE-2026-120772: Login token remains valid after logout
Insufficient session expiration in back-end login in dotCMS 25.03.12 through 26.10.28-03 (remember-me logins since 5.1.5), including 25.07.10 LTS: logging out invalidated the HTTP session but not the login token cookie, which is also accepted as a Bearer token. A login token captured before logout kept authenticating as that user until it expired (24 hours, or 14 days with remember-me), and a password change did not revoke it either. Exploitation requires an attacker to have already obtained the victim's login token; the attacker then gains that user's access.
Fixed in 26.10.29-01 and later. Logging out, changing a password, or revoking a user's tokens now gives the user a new login token id, so every login token issued before that point is rejected. API tokens are not affected. Logging out now ends token-based access for that user on every device.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.10.29-01
Event History
Frequently Asked Questions
Does ending a browser session prevent continued token-based access on affected releases?
No. Logout invalidated the HTTP session but left the login token usable, including when presented as a Bearer token. In fixed releases, logout ends token-based access for that user on every device.
Would changing the user's password invalidate a previously captured login token?
No, not on affected releases. A password change did not revoke an existing login token; fixed releases reject tokens issued before logout, password change, or token revocation.
How long could a captured login token remain usable?
It remained usable until its expiration: 24 hours normally, or 14 days for remember-me logins. Remember-me logins have been in scope since version 5.1.5.
Are API tokens subject to this issue?
No. The issue affects login token cookies and their use as Bearer tokens; API tokens are not affected.
Which releases contain the fix?
The issue is fixed in 26.10.29-01 and later. The affected range includes 25.03.12 through 26.10.28-03, including 25.07.10 LTS.