Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-133759

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

Symfony symfony/doctrine-bridge

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133759: medium-severity vulnerability (CVSS 6.3) in Symfony symfony/doctrine-bridge.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.3.

Affected products and versions

Symfony symfony/doctrine-bridge < 5.4.57; Symfony symfony/doctrine-bridge >= 6.0.0, < 6.4.51; Symfony symfony/doctrine-bridge >= 7.0.0, < 7.4.24; Symfony symfony/doctrine-bridge >= 8.0.0, < 8.1.12; Symfony symfony/symfony < 5.4.57; Symfony symfony/symfony >= 6.0.0, < 6.4.51; Symfony symfony/symfony >= 7.0.0, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12

ProductVersionsFixed in
Symfony symfony/doctrine-bridge< 5.4.57—
Symfony symfony/doctrine-bridge>= 6.0.0, < 6.4.51—
Symfony symfony/doctrine-bridge>= 7.0.0, < 7.4.24—
Symfony symfony/doctrine-bridge>= 8.0.0, < 8.1.12—
Symfony symfony/symfony< 5.4.57—
Symfony symfony/symfony>= 6.0.0, < 6.4.51—
Symfony symfony/symfony>= 7.0.0, < 7.4.24—
Symfony symfony/symfony>= 8.0.0, < 8.1.12—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-613

Relevant change history

  1. Published

    Preliminary advisory published.