CVE-2026-133759 in doctrine-bridgeinfo

Summary

by MITRE • 11/25/2026

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.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability in question stems from a design flaw within Symfony's DoctrineTokenProvider implementation for handling remember-me authentication tokens. Historically, to support concurrent requests without forcing re-authentication during brief periods of token rotation or network latency, the system maintained a duplicate copy of the previous authentication token associated with a specific cookie series. This mechanism allowed any request utilizing that prior token state to remain valid for up to sixty seconds after its initial issuance. While this feature was intended to improve user experience by preventing session interruptions, it introduced a significant security gap regarding credential theft detection and logout enforcement. The copy of the previous token is stored in a separate database row under a series identifier derived from the original cookie's series value. Prior to specific patch versions including Symfony 6.4.45, 7.4.18, and 8.1.6, this duplication logic was inconsistently applied, only affecting tokens generated before certain earlier version thresholds such as 5.4.19 or 6.2.5. However, in the affected versions leading up to these patches, every new remember-me series triggered the creation of a persistent copy, thereby expanding the window of vulnerability for all users relying on this authentication method.

The core technical flaw lies in how the system validates incoming requests against stored token states and handles session termination. When an attacker obtains a valid remember-me cookie through interception or other means, they can manipulate the request to utilize the series identifier associated with the previously generated copy rather than their own current series. Because the DoctrineTokenProvider treats this copied series as a legitimate active token state, it bypasses the standard sixty-second expiration limit that normally applies to stale tokens. Consequently, the system fails to recognize the cookie as compromised or expired during this window. Furthermore, when an authenticated user initiates a logout sequence, the application correctly deletes the database row corresponding to their original series identifier. However, due to the architectural separation of the token copy, the duplicate entry remains intact in the database. This residual data structure continues to be recognized by the authentication handler as valid, allowing any party possessing the cookie to maintain active sessions indefinitely or until other expiration mechanisms intervene, effectively nullifying the user's intent to terminate their session.

From an operational impact perspective, this vulnerability enables persistent unauthorized access even after explicit logout actions have been taken by the legitimate owner of the account. If an attacker has acquired a remember-me token and that token undergoes at most one rotation while in the attacker's possession, they can continue to authenticate as the victim without triggering theft detection mechanisms or requiring re-authentication credentials such as passwords. This scenario is particularly dangerous because it undermines the fundamental security assumption that logging out invalidates all active sessions for that user account. The ability to bypass logout functionality means that stolen credentials remain viable long after the legitimate user believes they have secured their session, facilitating prolonged unauthorized access and potential data exfiltration or further lateral movement within the application environment.

The remediation strategy implemented in Symfony versions 6.4.45, 7.4.18, and 8.1.6 addresses these issues by tightening the validation logic for token series formats and ensuring atomic cleanup of related database records. The updated DoctrineTokenProvider now strictly accepts only those series formats that are actively generated by the current remember-me handler, regardless of the underlying database collation settings which previously allowed for ambiguous matching behavior. More critically, the fix ensures that when a primary token is deleted during logout or expiration, its associated copy is simultaneously removed from the database. This atomic deletion prevents the orphaned copies from being exploited to maintain unauthorized access. By eliminating the persistence of stale token states and enforcing stricter format validation, the system restores the integrity of session termination procedures and reduces the window for exploitation of stolen credentials.

This vulnerability aligns with CWE-613, which describes insufficient session expiration, as well as CWE-287 regarding improper authentication mechanism identification. In terms of MITRE ATT&CK mapping, this flaw facilitates Initial Access via Valid Accounts (T1078) and specifically exploits the persistence aspect by allowing continued access after logout, akin to T1534 or general Session Hijacking techniques where session tokens are reused beyond their intended validity period. Security practitioners should ensure that all Symfony applications utilizing remember-me functionality with DoctrineTokenProvider are updated to at least version 6.4.45, 7.4.18, or 8.1.6 respectively. Additionally, organizations should review their authentication logs for any anomalous activity occurring shortly after user logout events, as this could indicate exploitation of the pre-patch behavior where sessions remained active despite explicit termination requests.

Responsible

Symfony

Reservation

11/20/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00689

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!