CVE-2026-123119Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting…
The Symfony HttpClient component NoPrivateNetworkHttpClient does not pin the checked IP address of cached hosts, allowing for DNS rebinding to bypass private network restrictions, resulting in enumeration of internal hosts and ports in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. NoPrivateNetworkHttpClient resolves the host of each request and checks the IP before connecting. It caches the result per host, and passes the IP to the decorated client through the resolve option so that the client connects to the exact IP that was checked. The issue is that resolve was only passed on the first lookup of a host: on subsequent requests, the decorated client resolved the host again on its own. An attacker who controls a host's DNS can exploit this with DNS rebinding by answering the first lookup with a public IP, and subsequent lookups with a private IP, so when an application sends several requests to that host through the same client, the later requests connect to the private IP. This happens, for example, when an application fetches several URLs of a repository provided by a user. The check of the primary_ip in the on_progress callback still aborts the request before anything is sent, but the connection is made, and the error differs depending on whether the port is open or closed. This allows enumerating internal hosts and ports, as in CVE-2024-50342.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-123119 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-123119 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-123119 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-123119 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-123119 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-123119 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-123119 | |
| Debian 14 | symfony | Fixed | 7.4.23+dfsg-1 | DEBIAN-CVE-2026-123119 |
| Debian 13 | symfony | Fixed | 6.4.50+dfsg-0+deb13u1 | DEBIAN-CVE-2026-123119 |
| Debian 12 | symfony | Fix pending | DEBIAN-CVE-2026-123119 |
What the vendor says
As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sensiolabs symfony: affected: before 5.4.56, 6.0.0 to before 6.4.50, 7.0.0 to before 7.4.23, 8.0.0 to before 8.1.11; fixed in
5.4.56,6.4.50,7.4.23,8.1.11
Vendor advisories:
References
- https://github.com/symfony/symfony/security/advisories/GHSA-c7hm-wqwp-f9v8
- https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.