Security mailing lists by PureSourceCode

CVE-2021-41268

HIGH 8.8CVSS 3.1

Cookie persistence after password changes in symfony/security-bundle

Symfony/SecurityBundle is the security system for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Since the rework of the Remember me cookie in version 5.3.0, the cookie is not invalidated when the user changes their password. Attackers can therefore maintain their access to the account even if the password is changed as long as they have had the chance to login once and get a valid remember me cookie. Starting with version 5.3.12, Symfony makes the password part of the signature by default. In that way, when the password changes, then the cookie is not valid anymore.

Published
24 Nov 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-384
Also known as
BIT-symfony-2021-41268GHSA-qw36-p97w-vcqr
Sources
NVDJSONOSV GHSA-qw36-p97w-vcqrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
>= 5.3.0, < 5.3.12 5.3.12
OSV Packagist symfony/security-bundle >= 5.3.0, < 5.3.12 5.3.12
OSV Packagist symfony/symfony >= 5.3.0, < 5.3.12 5.3.12

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 24 Nov 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.