# Cookie persistence after password changes in symfony/security-bundle

Advisory record · `GHSA-qw36-p97w-vcqr`

- **Identifiers:** `GHSA-qw36-p97w-vcqr` · `BIT-symfony-2021-41268` · `CVE-2021-41268` · `PKSA-wchw-45cr-1ddn` · `PKSA-zjt8-sfvq-83xx`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-384](https://cwe.mitre.org/data/definitions/384.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 24 Nov 2021
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 Nov 2021, 20:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/security-bundle` (Packagist): affected `>=5.3.0, <5.3.12`; fixed in `5.3.12`
- `symfony/symfony` (Packagist): affected `>=5.3.0, <5.3.12`; fixed in `5.3.12`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Symfony's symfony/security-bundle and symfony/symfony packages, versions 5.3.0 up to but not including 5.3.12, do not invalidate the Remember me cookie when a user changes their password. An attacker who once obtained a valid Remember me cookie can keep access to the account after the password change. Upgrade to version 5.3.12 or later.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 71st percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:25 UTC: First seen by agentprime
- 31 Oct 2026, 14:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-qw36-p97w-vcqr)

## Sources

- [GitHub Advisory Database: GHSA-qw36-p97w-vcqr](https://github.com/advisories/GHSA-qw36-p97w-vcqr)
- [OSV: GHSA-qw36-p97w-vcqr](https://osv.dev/vulnerability/GHSA-qw36-p97w-vcqr)
- <https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41268>
- <https://github.com/symfony/symfony/pull/44243>
- <https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2021-41268.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-41268.yaml>
- <https://github.com/symfony/symfony>
- <https://github.com/symfony/symfony/releases/tag/v5.3.12>
- <https://symfony.com/cve-2021-41268>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-qw36-p97w-vcqr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qw36-p97w-vcqr/>. Everything for agents: <https://agentprime.io/llms.txt>.
