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

medium Affects symfony/security-http, symfony/symfony. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

User enumeration leak using switch user functionality in Symfony

Package
symfony/security-http Composer
Affected versions
>=4.1.0 and <4.2.12 or >=4.3.0 and <4.3.8 or >=4.1.0 and <4.2.0 or >=4.2.0 and <4.2.12
Fixed in
4.2.12, 4.3.8
Severity
medium  CVSS 5.3
Exploitation
not on CISA KEV · EPSS 2% (75.1th percentile)
Published
2019-12-02
Source
osv.dev

References

User enumeration leak using switch user functionality in Symfony

Package
symfony/symfony Composer
Affected versions
>=4.1.0 and <4.2.12 or >=4.3.0 and <4.3.8 or >=4.1.0 and <4.2.0 or >=4.2.0 and <4.2.12
Fixed in
4.2.12, 4.3.8
Severity
medium  CVSS 5.3
Exploitation
not on CISA KEV · EPSS 2% (75.1th percentile)
Published
2019-12-02
Source
osv.dev

References

CWE-200CWE-203
NVD recordsymfony/security-http advisoriessymfony/symfony advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories