cvelo
P3 · MediumCVSS 6.3EPSS 0.7%

Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout

  • CVE-2026-133759
  • EUVD-2026-135184

Description

DoctrineTokenProvider keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5. A cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn't apply and the theft detection didn't trigger. Logging out deleted only the row of the original series, and the copy stayed. An attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie. DoctrineTokenProvider now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token.

Text from the CVE.org record.

Recommendation

  • Symfony symfony/doctrine-bridge

    • If you run a version from 8.0.0 to before 8.1.12update to 8.1.12 or laterMinor version change: check the release notes
    • If you run a version from 7.0.0 to before 7.4.24update to 7.4.24 or laterMinor version change: check the release notes
    • If you run a version from 6.0.0 to before 6.4.51update to 6.4.51 or laterMinor version change: check the release notes
    • If you run a version before 5.4.57update to 5.4.57 or later
  • Symfony symfony/symfony

    • If you run a version from 8.0.0 to before 8.1.12update to 8.1.12 or laterMinor version change: check the release notes
    • If you run a version from 7.0.0 to before 7.4.24update to 7.4.24 or laterMinor version change: check the release notes
    • If you run a version from 6.0.0 to before 6.4.51update to 6.4.51 or laterMinor version change: check the release notes
    • If you run a version before 5.4.57update to 5.4.57 or later

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

  • Symfony symfony/doctrine-bridge

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.0.0 to before 7.4.247.4.24
    from 6.0.0 to before 6.4.516.4.51
    before 5.4.575.4.57
  • Symfony symfony/symfony

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.0.0 to before 7.4.247.4.24
    from 6.0.0 to before 6.4.516.4.51
    before 5.4.575.4.57

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.