# CVE-2024-50341: Security::login does not take into account custom user_checker in symfony/security-bundle

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2024-11-06T15:13:42.000Z
- Modified: 2026-06-17T08:04:16.140Z
- Also known as: GHSA-jxgr-3v7q-3w9v
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- symfony symfony: >= 6.2.0, < 6.4.10; >= 7.0.0, < 7.0.10; >= 7.1.0, < 7.1.3
- symfony/security-bundle (Packagist): from 6.2.0 before 6.4.10; from 7.0.0 before 7.0.10; from 7.1.0 before 7.1.3
- symfony/symfony (Packagist): from 6.2.0 before 6.4.10; from 7.0.0 before 7.0.10; from 7.1.0 before 7.1.3

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v> (web)
- <https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-50341> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2024-50341.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50341.yaml> (web)
- <https://github.com/symfony/symfony> (package)
- <https://symfony.com/cve-2024-50341> (web)

## Sources

- CVE List: [CVE-2024-50341](https://www.cve.org/CVERecord?id=CVE-2024-50341), CVE Terms of Use, modified 2024-11-07
- GitHub Advisory Database: [GHSA-jxgr-3v7q-3w9v](https://github.com/advisories/GHSA-jxgr-3v7q-3w9v), CC-BY-4.0, modified 2024-11-07
- NVD: [CVE-2024-50341](https://nvd.nist.gov/vuln/detail/CVE-2024-50341), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50341 · Whole record: https://cve.day/CVE-2024-50341.json · Rebuilt by cve.day 2026-11-25T22:58:47.845Z
