CVE-2021-41268: Remember Me cookie not invalidated on password change in Symfony SecurityBundle
- Vendor
- Sensiolabs
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-41268 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-41268 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-41268?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-41268.
- Is there a patch for CVE-2021-41268?
- 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.
- What products are affected by CVE-2021-41268?
- Sensiolabs Symfony.
- How severe is CVE-2021-41268?
- CVE-2021-41268 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.3% (72nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.