Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41268

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41268
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:47 UTC · Revision 1

Source evidence

CVE-2021-41268

core-osv · Original source

Published 24 Nov 2021, 19:15 UTC

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.

osv:CVE-2021-41268
Complete source record
{
  "id": "dec21b6e47776ef544579b0caad3c32d246cca7cdaadca162119600030bdb4e5",
  "url": "https://osv.dev/vulnerability/CVE-2021-41268",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41268",
    "summary": "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.",
    "evidence": "osv:CVE-2021-41268",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41268",
      "aliases": [
        "BIT-symfony-2021-41268",
        "CVE-2021-41268",
        "GHSA-qw36-p97w-vcqr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/symfony/symfony",
              "type": "GIT",
              "events": [
                {
                  "introduced": "bc3abacc8bed6ca1e6924bed48580b85eccf4e82"
                },
                {
                  "fixed": "256c34a45b79fdc6276a8c941a1656713ee1ffec"
                },
                {
                  "fixed": "36a808b857cd3240244f4b224452fb1e70dc6dfc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.3.0"
                      },
                      {
                        "fixed": "5.3.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "36a808b857cd3240244f4b224452fb1e70dc6dfc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "256c34a45b79fdc6276a8c941a1656713ee1ffec"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v5.3.12"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.3.11",
            "v5.3.10",
            "v5.3.9",
            "v5.3.8",
            "v5.3.7",
            "v5.3.6",
            "v5.3.5",
            "v5.3.4",
            "v5.3.3",
            "v5.3.2",
            "v5.3.1",
            "v5.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41268.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:08.648601564Z",
      "provider": "osv",
      "references": [
        "https://github.com/symfony/symfony/releases/tag/v5.3.12",
        "https://github.com/symfony/symfony/commit/36a808b857cd3240244f4b224452fb1e70dc6dfc",
        "https://github.com/symfony/symfony/pull/44243",
        "https://github.com/symfony/symfony/security/advisories/GHSA-qw36-p97w-vcqr"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "sensiolabs:symfony",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.3.0"
                  },
                  {
                    "fixed": "5.3.12"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-41268",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442014,
  "published_at": "2021-11-24T19:15:07.817+00:00"
}