Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/security-http
  4. ›
  5. CVE-2024-51996

CVE-2024-51996: Symfony has an Authentication Bypass via RememberMe

November 13, 2024 (updated November 14, 2024)

When 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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2024-51996.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-51996.yaml
  • github.com/advisories/GHSA-cg23-qf8f-62rr
  • github.com/symfony/symfony
  • github.com/symfony/symfony/commit/81354d392c5f0b7a52bcbd729d6f82501e94135a
  • github.com/symfony/symfony/security/advisories/GHSA-cg23-qf8f-62rr
  • nvd.nist.gov/vuln/detail/CVE-2024-51996
  • symfony.com/cve-2024-51996

Code Behaviors & Features

Detect and mitigate CVE-2024-51996 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.3.0 before 5.4.47, all versions starting from 6.0.0-BETA1 before 6.4.15, all versions starting from 7.0.0-BETA1 before 7.1.8

Fixed versions

  • 5.4.47
  • 6.4.15
  • 7.1.8

Solution

Upgrade to versions 5.4.47, 6.4.15, 7.1.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-289: Authentication Bypass by Alternate Name

Source file

packagist/symfony/security-http/CVE-2024-51996.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:00 +0000.