# CVE-2019-18886: User enumeration leak using switch user functionality in Symfony

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): 1.55%, higher than 75% of CVEs (2026-12-01)
- Published: 2019-11-21T17:41:54.000Z
- Modified: 2026-06-17T02:25:31.690Z
- Also known as: GHSA-4vpc-5jx4-cfqg
- Weaknesses: CWE-200, CWE-203
- Assigned by: mitre

## Description

An issue was discovered in Symfony 4.2.0 to 4.2.11 and 4.3.0 to 4.3.7. The ability to enumerate users was possible due to different handling depending on whether the user existed when making unauthorized attempts to use the switch users functionality. This is related to symfony/security.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- symfony/security-http (Packagist): from 4.1.0 before 4.2.12; from 4.3.0 before 4.3.8
- symfony/symfony (Packagist): from 4.1.0 before 4.2.12; from 4.3.0 before 4.3.8
- sensiolabs symfony: from 4.2.0 up to 4.2.11; from 4.3.0 up to 4.3.7

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/symfony/symfony/releases/tag/v4.3.8> (release-notes, web)
- <https://symfony.com/blog/symfony-4-3-8-released> (release-notes, web)
- <https://symfony.com/blog/cve-2019-18886-prevent-user-enumeration-using-switch-user-functionality> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-18886> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2019-18886.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-18886.yaml> (web)
- <https://symfony.com/cve-2019-18886> (web)

## Sources

- CVE List: [CVE-2019-18886](https://www.cve.org/CVERecord?id=CVE-2019-18886), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-4vpc-5jx4-cfqg](https://github.com/advisories/GHSA-4vpc-5jx4-cfqg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-18886](https://nvd.nist.gov/vuln/detail/CVE-2019-18886), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-18886 · Whole record: https://cve.day/CVE-2019-18886.json · Rebuilt by cve.day 2026-11-25T22:57:48.141Z
