{"id":"CVE-2024-51996","aliases":["GHSA-cg23-qf8f-62rr"],"url":"https://o3.security/vulnerability/CVE-2024-51996","summary":"Symphony has an Authentication Bypass via RememberMe","details":"### Description\n\nWhen consuming a persisted remember-me cookie, Symfony does not check if the username persisted in the database matches the username attached with the cookie, leading to authentication bypass.\n\n### Resolution\n\nThe `PersistentRememberMeHandler` class now ensures the submitted username is the cookie owner.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/81354d392c5f0b7a52bcbd729d6f82501e94135a) for branch 5.4.\n\n### Credits\n\nWe would like to thank Moritz Rauch - Pentryx AG for reporting the issue and Jérémy Derussé for providing the fix.","published":"2024-11-13T16:18:49.473Z","modified":"2026-08-12T03:51:31.785638072Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.0062,"percentile":0.48131,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"symfony/security-http","fixedVersion":"5.4.47"},{"ecosystem":"Packagist","name":"symfony/security-http","fixedVersion":"6.4.15"},{"ecosystem":"Packagist","name":"symfony/security-http","fixedVersion":"7.1.8"}],"fix":{"url":"https://github.com/symfony/symfony/commit/81354d392c5f0b7a52bcbd729d6f82501e94135a","label":"symfony/symfony@81354d3"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51996.json"},{"type":"ADVISORY","url":"https://github.com/symfony/symfony/security/advisories/GHSA-cg23-qf8f-62rr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51996"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/81354d392c5f0b7a52bcbd729d6f82501e94135a"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2024-51996.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-51996.yaml"},{"type":"PACKAGE","url":"https://github.com/symfony/symfony"},{"type":"WEB","url":"https://symfony.com/cve-2024-51996"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:31.785638072Z"}}