CVE-2024-50341
Security::login does not take into account custom user_checker in symfony/security-bundle
Also known as GHSA-jxgr-3v7q-3w9v
Mitigation
- Upgrade symfony/security-bundle to one of 6.4.10, 7.0.10, 7.1.3 (or later in the same release line).
- Upgrade symfony/symfony to one of 6.4.10, 7.0.10, 7.1.3 (or later in the same release line).
Who should check
- Projects that depend on Packagist package symfony/security-bundle (>= 6.2.0, < 6.4.10)
- Projects that depend on Packagist package symfony/symfony (>= 6.2.0, < 6.4.10)
- Anyone running symfony >= 6.2.0, < 6.4.10; >= 7.0.0, < 7.0.10; >= 7.1.0, < 7.1.3
Vulnerability facts
- Affected
- symfony/security-bundle >= 6.2.0, < 6.4.10; symfony/symfony >= 6.2.0, < 6.4.10
- Fixed in
- 6.4.10, 7.0.10, 7.1.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 3.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-287
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist symfony/security-bundle | >= 6.2.0, < 6.4.10 | 6.4.10, 7.0.10, 7.1.3 | osv |
| Packagist symfony/symfony | >= 6.2.0, < 6.4.10 | 6.4.10, 7.0.10, 7.1.3 | osv |
| symfony | >= 6.2.0, < 6.4.10; >= 7.0.0, < 7.0.10; >= 7.1.0, < 7.1.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50341. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50341.md Affected: symfony/security-bundle >= 6.2.0, < 6.4.10; symfony/symfony >= 6.2.0, < 6.4.10 Fixed in: 6.4.10, 7.0.10, 7.1.3 Steps: 1. Search this machine and project for symfony/security-bundle (Packagist), symfony/symfony (Packagist), symfony: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-50341 being exploited?
There is no confirmed exploitation: CVE-2024-50341 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50341?
Low: CVSS 3.1 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-50341?
symfony/security-bundle >= 6.2.0, < 6.4.10; symfony/symfony >= 6.2.0, < 6.4.10.
Is there a fix for CVE-2024-50341?
Yes. Fixed in 6.4.10, 7.0.10, 7.1.3. Upgrade symfony/security-bundle to one of 6.4.10, 7.0.10, 7.1.3 (or later in the same release line). Upgrade symfony/symfony to one of 6.4.10, 7.0.10, 7.1.3 (or later in the same release line).
How do I check if I'm affected by CVE-2024-50341?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.