cvelo
P3 · MediumCVSS 6.3

Login token remains valid after logout

  • CVE-2026-120772
  • EUVD-2026-144687

Summary

In dotCMS versions 25.03.12 through 26.10.28-03, including the 25.07.10 LTS line, logging out ended the HTTP session but left the login token cookie valid, and that cookie is also accepted as a Bearer token. A password change did not revoke it either. A token captured before logout therefore kept authenticating as the user for up to 24 hours, or 14 days with remember-me. Exploitation requires the attacker to already hold the victim's login token. The issue is rated CVSS 6.3. It is fixed in 26.10.29-01 and later, where logout, password changes, or token revocation issue a new login token id so earlier tokens are rejected. API tokens are not affected.

AI summary · verify against the vendor advisory

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.

Text from the CVE.org record.

Recommendation

  • dotCMS

    • If you run a version before 26.10.29-01update to 26.10.29-01 or later
    • If you run a version from 25.07.10 to before 25.07.10_lts_v26update to 26.10.29-01 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.29-0126.10.29-01
    from 25.07.10 to before 25.07.10_lts_v2626.10.29-01

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.