CVE-2021-41268
PHP vulnerability analysis and mitigation

Overview

CVE-2021-41268 affects Symfony/SecurityBundle, the security system for Symfony PHP framework. The vulnerability was discovered in version 5.3.0 and fixed in version 5.3.12, released on November 24, 2021. The issue affects the Remember Me cookie functionality, where the cookie is not invalidated when a user changes their password (Symfony Advisory).

Technical details

The vulnerability stems from a rework of the Remember Me cookie functionality in Symfony 5.3.0. When a user changes their password, the existing Remember Me cookie remains valid instead of being invalidated. This occurs because the password is not included in the cookie's signature, allowing continued access to the account even after password changes (Symfony Advisory).

Impact

An attacker who has previously obtained a valid Remember Me cookie can maintain access to the affected account even after the user changes their password. This persistence of access undermines the security measure of password changes, potentially allowing unauthorized access to user accounts (Symfony Advisory).

Exploitability

The vulnerability can be exploited if an attacker has managed to obtain a valid Remember Me cookie through a successful login. Once obtained, this cookie remains valid even after the legitimate user changes their password (Symfony Advisory).

Mitigation and workarounds

The issue was fixed in Symfony version 5.3.12 by making the password part of the cookie's signature by default. This ensures that when a password is changed, the Remember Me cookie becomes invalid. Users should upgrade to version 5.3.12 or later to implement this fix (Symfony Advisory, Symfony Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46670CRITICAL9.8
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesAug 11, 2026
GHSA-wg23-69c2-gjc8CRITICAL9.1
  • PHP logoPHP
  • craftcms/cms
NoYesAug 07, 2026
CVE-2026-71488HIGH7.5
  • PHP logoPHP
  • commonmark
NoYesAug 06, 2026
CVE-2026-62996MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026
CVE-2026-62992MEDIUM6.9
  • PHP logoPHP
  • smarty/smarty
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management