# CVE-2021-41268: Cookie persistence in Symfony

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-11-24T18:55:12.000Z
- Modified: 2026-07-08T06:29:08.562Z
- Also known as: GHSA-qw36-p97w-vcqr, BIT-SYMFONY-2021-41268
- Weaknesses: CWE-384
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- symfony symfony: >= 5.3.0, < 5.3.12
- symfony/security-bundle (Packagist): from 5.3.0 before 5.3.12
- symfony/symfony (Packagist): from 5.3.0 before 5.3.12
- sensiolabs symfony: from 5.3.0 before 5.3.12
- symfony (Bitnami): from 5.3.0 before 5.3.12

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr> (patch, third-party-advisory, web)
- <https://github.com/symfony/symfony/pull/44243> (patch, third-party-advisory, web)
- <https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc> (patch, third-party-advisory, web)
- <https://github.com/symfony/symfony/releases/tag/v5.3.12> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41268> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2021-41268.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-41268.yaml> (web)
- <https://github.com/symfony/symfony> (package)
- <https://symfony.com/cve-2021-41268> (web)

## Sources

- CVE List: [CVE-2021-41268](https://www.cve.org/CVERecord?id=CVE-2021-41268), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qw36-p97w-vcqr](https://github.com/advisories/GHSA-qw36-p97w-vcqr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41268](https://nvd.nist.gov/vuln/detail/CVE-2021-41268), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-SYMFONY-2021-41268](https://osv.dev/vulnerability/BIT-SYMFONY-2021-41268), Apache-2.0, modified 2024-03-06

---

Page: https://cve.day/CVE-2021-41268 · Whole record: https://cve.day/CVE-2021-41268.json · Rebuilt by cve.day 2026-11-25T22:58:05.758Z
