Low severity · published Nov 6, 2024
CVE-2024-50341
Security::login does not take into account custom user_checker in symfony/security-bundle
3.1
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SY
symfony · symfony
>= 6.2.0, < 6.4.10; >= 7.0.0, < 7.0.10; >= 7.1.0, < 7.1.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-50341
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-50341
github.com
https://github.com/symfony/symfony/commit/22a0789a0085c3ee96f4ef715ecad8255cf0e105
github.com
https://github.com/symfony/symfony/security/advisories/GHSA-jxgr-3v7q-3w9v
More from symfony
9.8
CVE-2026-47767
Symfony: SymfonyRuntime CVE-2024-50340 Patch Bypass: Web Requests Can Still Set APP_ENV/APP_DEBUG via parse_str/SAPI Argv Mismatch
9.8
CVE-2024-51736
Command execution hijack on Windows with Process class in symfony/process
9.1
CVE-2026-45069
Symfony: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims
9.1
CVE-2026-45063
Symfony: Identity Spoofing via Unanchored DN Regex in X509Authenticator
8.6
CVE-2026-48736
Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient
