Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for symfony/doctrine-bridge by Symfony

    CVE-2026-133759 (GCVE-0-2026-133759)

    Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:08
    VLAI
    Title
    Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout
    Summary
    DoctrineTokenProvider keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5. A cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn't apply and the theft detection didn't trigger. Logging out deleted only the row of the original series, and the copy stayed. An attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie. DoctrineTokenProvider now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token.
    CWE
    • CWE-613 - Insufficient Session Expiration
    Impacted products
    Vendor Product Version
    Symfony symfony/doctrine-bridge Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Date Public
    2026-11-25 09:36
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/doctrine-bridge",
              "product": "symfony/doctrine-bridge",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/symfony",
              "product": "symfony/symfony",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Rex (General Analysis)"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Amimul Ihsan"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nicolas Grekas"
            }
          ],
          "datePublic": "2026-11-25T09:36:35.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "`DoctrineTokenProvider` keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5.\n\nA cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn\u0027t apply and the theft detection didn\u0027t trigger. Logging out deleted only the row of the original series, and the copy stayed.\n\nAn attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie.\n\n`DoctrineTokenProvider` now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token."
                }
              ],
              "value": "DoctrineTokenProvider keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5.\n\nA cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn\u0027t apply and the theft detection didn\u0027t trigger. Logging out deleted only the row of the original series, and the copy stayed.\n\nAn attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie.\n\nDoctrineTokenProvider now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-613",
                  "description": "CWE-613 Insufficient Session Expiration",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:08:11.787Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133759",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133759"
            },
            {
              "name": "GHSA-4q5m-f3jq-v37c",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-4q5m-f3jq-v37c"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/9a519a3629bab3ab6e88dab061c52e7b3f9cd184"
            }
          ],
          "source": {
            "advisory": "GHSA-4q5m-f3jq-v37c",
            "discovery": "UNKNOWN"
          },
          "title": "Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133759",
        "datePublished": "2026-11-25T10:00:18.350Z",
        "dateReserved": "2026-11-20T14:01:43.158Z",
        "dateUpdated": "2026-11-25T10:08:11.787Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-133759 (GCVE-0-2026-133759)

    Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:08
    VLAI
    Title
    Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout
    Summary
    DoctrineTokenProvider keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5. A cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn't apply and the theft detection didn't trigger. Logging out deleted only the row of the original series, and the copy stayed. An attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie. DoctrineTokenProvider now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token.
    CWE
    • CWE-613 - Insufficient Session Expiration
    Impacted products
    Vendor Product Version
    Symfony symfony/doctrine-bridge Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Symfony symfony/symfony Affected: 0 , < 5.4.57 (semver)
    Affected: 6.0.0 , < 6.4.51 (semver)
    Affected: 7.0.0 , < 7.4.24 (semver)
    Affected: 8.0.0 , < 8.1.12 (semver)
    Create a notification for this product.
    Date Public
    2026-11-25 09:36
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/doctrine-bridge",
              "product": "symfony/doctrine-bridge",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "symfony/symfony",
              "product": "symfony/symfony",
              "repo": "https://github.com/symfony/symfony",
              "vendor": "Symfony",
              "versions": [
                {
                  "lessThan": "5.4.57",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.4.51",
                  "status": "affected",
                  "version": "6.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "7.4.24",
                  "status": "affected",
                  "version": "7.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "8.1.12",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Rex (General Analysis)"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Amimul Ihsan"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Nicolas Grekas"
            }
          ],
          "datePublic": "2026-11-25T09:36:35.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "`DoctrineTokenProvider` keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5.\n\nA cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn\u0027t apply and the theft detection didn\u0027t trigger. Logging out deleted only the row of the original series, and the copy stayed.\n\nAn attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie.\n\n`DoctrineTokenProvider` now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token."
                }
              ],
              "value": "DoctrineTokenProvider keeps a copy of the previous token of a remember-me cookie. This way, concurrent requests sent with that token are still accepted for 60 seconds. The copy is stored in another row, under a series derived from the series of the cookie. Since Symfony 6.4.45, 7.4.18 and 8.1.6, a copy is stored for every series that the remember-me handler generates. Before, copies were stored only for the series created before Symfony 5.4.19, 6.0.19, 6.1.11 and 6.2.5.\n\nA cookie could use the series of the copy instead of its own series. The copy then matched as a current token, so the limit of 60 seconds didn\u0027t apply and the theft detection didn\u0027t trigger. Logging out deleted only the row of the original series, and the copy stayed.\n\nAn attacker who got hold of a remember-me cookie could then keep logging in as its user after the user logged out. This works when the token was rotated at most once since the attacker got the cookie.\n\nDoctrineTokenProvider now accepts only the series formats that the remember-me handler generates, whatever the collation of the database. It also deletes the copy together with its token."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-613",
                  "description": "CWE-613 Insufficient Session Expiration",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-25T10:08:11.787Z",
            "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "shortName": "Symfony"
          },
          "references": [
            {
              "name": "CVE-2026-133759",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://symfony.com/cve-2026-133759"
            },
            {
              "name": "GHSA-4q5m-f3jq-v37c",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/symfony/symfony/security/advisories/GHSA-4q5m-f3jq-v37c"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/symfony/symfony/commit/9a519a3629bab3ab6e88dab061c52e7b3f9cd184"
            }
          ],
          "source": {
            "advisory": "GHSA-4q5m-f3jq-v37c",
            "discovery": "UNKNOWN"
          },
          "title": "Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout",
          "x_generator": {
            "engine": "symfony/ghsa-to-cve"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "assignerShortName": "Symfony",
        "cveId": "CVE-2026-133759",
        "datePublished": "2026-11-25T10:00:18.350Z",
        "dateReserved": "2026-11-20T14:01:43.158Z",
        "dateUpdated": "2026-11-25T10:08:11.787Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }