# CVE-2024-50341: Symfony's `Security::login` does not take into account custom `user_checker`

Source: https://junglewise.ai/threats/cve-2024-50341-symfony-s-security-login-does-not-take-into-account-custom-user  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-06  
License: CC BY 4.0 with a link back

CVE-2024-50341 · Severity: low · CVSS 3.1 · Published 2024-11-06

Symfony's `Security::login` does not take into account custom `user_checker`

Technologies: [symfony/security-bundle (Packagist)](https://junglewise.ai/threats/technologies/symfony-security-bundle), [symfony/symfony (Packagist)](https://junglewise.ai/threats/technologies/symfony-symfony). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-50341 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-50341 being exploited in the wild.

**How severe is CVE-2024-50341?** Low severity, with a CVSS score of 3.1, published 6 November 2024.

**Which products and versions are affected?** symfony/security-bundle (Packagist) ECOSYSTEM:introduced=6.2.0,fixed=6.4.10; symfony/symfony (Packagist) ECOSYSTEM:introduced=6.2.0,fixed=6.4.10.

**Is there a fix for CVE-2024-50341?** Yes. symfony/security-bundle (Packagist): upgrade to 6.4.10 or later; symfony/symfony (Packagist): upgrade to 6.4.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-50341?** Check whether you run symfony/security-bundle (Packagist) or symfony/symfony (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- symfony/security-bundle (Packagist): upgrade to 6.4.10 or later

  ```sh
  composer require symfony/security-bundle:^6.4.10
  ```

- symfony/symfony (Packagist): upgrade to 6.4.10 or later

  ```sh
  composer require symfony/symfony:^6.4.10
  ```


## Affected products

- symfony/security-bundle (Packagist) ECOSYSTEM:introduced=6.2.0,fixed=6.4.10
- symfony/symfony (Packagist) ECOSYSTEM:introduced=6.2.0,fixed=6.4.10

## Identifiers

- CVE-2024-50341
- GHSA-jxgr-3v7q-3w9v

## Related threats

- [Symfony YAML stack exhaustion in inline lexer](https://junglewise.ai/threats/cve-2026-109413-in-symfony-yaml-prior-to-versions-5-4-54-6-4-45-7-4-18-and-8-1-6)
- [Symfony HTTP Foundation ReDoS in HeaderUtils::split()](https://junglewise.ai/threats/cve-2026-108082-symfony-is-a-php-framework-for-web-and-console-applications-and)
- [Symfony Routing improper dot-segment encoding in UrlGenerator](https://junglewise.ai/threats/cve-2026-48784-symfony-routing-improper-dot-segment-encoding-in-urlgenerator)
- [Symfony HtmlSanitizer XSS via incomplete URL attribute sanitization](https://junglewise.ai/threats/cve-2026-48761-symfony-htmlsanitizer-xss-via-incomplete-url-attribute)
- [Symfony HtmlSanitizer visual spoofing via percent-encoded BiDi characters](https://junglewise.ai/threats/cve-2026-48760-symfony-htmlsanitizer-visual-spoofing-via-percent-encoded-bidi)
