What’s Vulnerable › Vulnerabilities
CVE-2024-50341: Security::login does not take into account custom user_checker in symfony/security-bundle
- Severity: low (CVSS 3.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-06 · updated 2026-06-17
- Weakness: CWE-287
Description
symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- symfony: from 6.2.0, < 6.4.10; from 7.0.0, < 7.0.10; from 7.1.0, < 7.1.3
References
- https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105
- https://github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v
Get alerted when CVE-2024-50341 or the next vulnerability affects your stack