CVE-2026-120772

Login token remains valid after logout

Published Dec 4, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
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.

Remediation

Vendor Solution

Upgrade to dotCMS 26.10.29-01 or later, or to 25.07.10 LTS v26 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title Login token remains valid after logout
Weaknesses CWE-613
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
dotCMS
Published
Updated
Dec 4, 2026, 8:15 PM
Reserved
Nov 2, 2026, 9:32 PM
Status
Received
Published
Dec 4, 2026, 9:17 PM
Modified
Dec 4, 2026, 9:17 PM