CVE-2021-41268Sensiolabs Symfony
High 8.8
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- Yes
- Published
- Nov 24, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-384
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Symfony.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/security-bundle |
≥ 5.3.0 < 5.3.12 |
5.3.12 |
composer require "symfony/security-bundle:^5.3.12" |
| Packagist | symfony/symfony |
≥ 5.3.0 < 5.3.12 |
5.3.12 |
composer require "symfony/symfony:^5.3.12" |
Per OSV / GitHub Advisories (GHSA-qw36-p97w-vcqr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 5.3.0 < 5.3.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory