CVE-2021-41268 in Sensiolabs Symfony
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 acc...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sensiolabs | Symfony | ≥ 5.3.0, < 5.3.12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-41268 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-072972-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-11-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-384: CWE-384
Related attack patterns (CAPEC)
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384
CAPEC-59 Session Credential Falsification through Prediction via CWE-384
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384
CAPEC-61 Session Fixation via CWE-384
CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384
Show all 7
CAPEC-196 Session Credential Falsification through Forging via CWE-384
CAPEC-21 Exploitation of Trusted Identifiers via CWE-384
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-41268 in Symfony/SecurityBundle allows attackers to maintain access to an account even after the user changes their password, due to the Remember me cookie not being invalidated.
The vulnerability arises from the Remember me cookie not being invalidated when a user changes their password. Attackers can exploit this by obtaining a valid Remember me cookie before the password change and using it to access the account afterward.
Questions
What is CVE-2021-41268?
CVE-2021-41268 in Symfony/SecurityBundle allows attackers to maintain access to an account even after the user changes their password, due to the Remember me cookie not being invalidated.
What is the CVSS score for CVE-2021-41268?
CVE-2021-41268 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.3%.
Is CVE-2021-41268 actively exploited?
No confirmed active exploitation of CVE-2021-41268 as of 2026-09-25.
How do I remediate CVE-2021-41268?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-41268?
CVE-2021-41268 affects Sensiolabs Symfony.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Sensiolabs","product":"Symfony","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.