CVE-2019-18886
MEDIUM 5.3CVSS 3.1User enumeration leak using switch user functionality in Symfony
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.
- Published
- 21 Nov 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-200CWE-203
- Also known as
- GHSA-4vpc-5jx4-cfqg
- Sources
- NVDJSONOSV GHSA-4vpc-5jx4-cfqgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.2.0, <= 4.2.11 | |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.3.0, <= 4.3.7 | |
| OSV | Packagist | symfony/security-http | >= 4.1.0, < 4.2.12 | 4.2.12 |
| OSV | Packagist | symfony/security-http | >= 4.3.0, < 4.3.8 | 4.3.8 |
| OSV | Packagist | symfony/symfony | >= 4.1.0, < 4.2.12 | 4.2.12 |
| OSV | Packagist | symfony/symfony | >= 4.3.0, < 4.3.8 | 4.3.8 |
References
- https://github.com/symfony/symfony/releases/tag/v4.3.8 · Release Notes, WEB
- https://symfony.com/blog/cve-2019-18886-prevent-user-enumeration-using-switch-user-functionality · Vendor Advisory, WEB
- https://symfony.com/blog/symfony-4-3-8-released · Release Notes, 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
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 21 Nov 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Dec 2019)