Remember Me cookie not invalidated on password change in Symfony SecurityBundle
In Symfony/SecurityBundle (Symfony framework) versions 5.3.0 through 5.3.11, the reworked Remember Me cookie mechanism does not invalidate existing Remember Me cookies when a user changes their password. As a result, a previously issued persistent authentication cookie remains valid across password changes, allowing continued authentication using that cookie. Starting in 5.3.12, Symfony includes the user’s password in the Remember Me cookie signature by default, causing previously issued cookies to become invalid after a password change.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker who has obtained a valid Remember Me cookie for a victim account can maintain access to that account even after the victim changes their password, until the cookie expires or is otherwise invalidated.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable or avoid the Remember Me feature where feasible, and ensure Remember Me cookies are cleared/invalidated after password changes (e.g., force re-authentication and client-side cookie clearing). Consider compensating controls such as shorter Remember Me cookie lifetimes and requiring re-login for sensitive actions.
Patch, then assume compromise.
Upgrade Symfony/SecurityBundle to 5.3.12 or later (for the 5.3 branch), or apply the referenced patch (commit 36a808b857cd3240244f4b224452fb1e70dc6dfc) so the password is included in the Remember Me cookie signature, invalidating cookies upon password change.
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.