{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133759","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.158Z","datePublished":"2026-11-25T10:00:18.350Z","dateUpdated":"2026-11-25T10:08:11.787Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:08:11.787Z"},"title":"Doctrine Remember-Me Token Provider Accepts Outdated Tokens Under the Series of Their Copy, Also After Logout","datePublic":"2026-11-25T09:36:35.000Z","descriptions":[{"lang":"en","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't apply and the theft detection didn't 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.","supportingMedia":[{"type":"text/markdown","base64":false,"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't apply and the theft detection didn't 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."}]}],"affected":[{"vendor":"Symfony","product":"symfony/doctrine-bridge","collectionURL":"https://packagist.org","packageName":"symfony/doctrine-bridge","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.0.0","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.0.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.0.0","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.0.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-613","description":"CWE-613 Insufficient Session Expiration","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","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","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133759","name":"CVE-2026-133759","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-4q5m-f3jq-v37c","name":"GHSA-4q5m-f3jq-v37c","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/9a519a3629bab3ab6e88dab061c52e7b3f9cd184","tags":["patch"]}],"credits":[{"lang":"en","value":"Rex (General Analysis)","type":"finder"},{"lang":"en","value":"Amimul Ihsan","type":"finder"},{"lang":"en","value":"Nicolas Grekas","type":"remediation developer"}],"source":{"advisory":"GHSA-4q5m-f3jq-v37c","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}