CVE-2019-18886
User enumeration leak using switch user functionality in Symfony
Also known as GHSA-4vpc-5jx4-cfqg
Mitigation
- Upgrade symfony/security-http to one of 4.2.12, 4.3.8 (or later in the same release line).
- Upgrade symfony/symfony to one of 4.2.12, 4.3.8 (or later in the same release line).
Who should check
- Projects that depend on Packagist package symfony/security-http (>= 4.1.0, < 4.2.12)
- Projects that depend on Packagist package symfony/symfony (>= 4.1.0, < 4.2.12)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- symfony/security-http >= 4.1.0, < 4.2.12; symfony/symfony >= 4.1.0, < 4.2.12
- Fixed in
- 4.2.12, 4.3.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.55% chance of exploitation in 30 days (percentile 75, 2026-11-26)
- CWE
- CWE-203
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist symfony/security-http | >= 4.1.0, < 4.2.12 | 4.2.12, 4.3.8 | osv |
| Packagist symfony/symfony | >= 4.1.0, < 4.2.12 | 4.2.12, 4.3.8 | osv |
| n/a | — | — | nvd |
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-2019-18886. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-18886.md Affected: symfony/security-http >= 4.1.0, < 4.2.12; symfony/symfony >= 4.1.0, < 4.2.12 Fixed in: 4.2.12, 4.3.8 Steps: 1. Search this machine and project for symfony/security-http (Packagist), symfony/symfony (Packagist), n/a: 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
Other
- https://github.com/symfony/symfony/releases/tag/v4.3.8
- https://symfony.com/blog/symfony-4-3-8-released
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2019-18886.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-18886.yaml
- https://symfony.com/cve-2019-18886
FAQ
Is CVE-2019-18886 being exploited?
There is no confirmed exploitation: CVE-2019-18886 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-18886?
Medium: CVSS 5.3 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2019-18886?
symfony/security-http >= 4.1.0, < 4.2.12; symfony/symfony >= 4.1.0, < 4.2.12.
Is there a fix for CVE-2019-18886?
Yes. Fixed in 4.2.12, 4.3.8. Upgrade symfony/security-http to one of 4.2.12, 4.3.8 (or later in the same release line). Upgrade symfony/symfony to one of 4.2.12, 4.3.8 (or later in the same release line).
How do I check if I'm affected by CVE-2019-18886?
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.