Vulnerability · Published Nov 5, 2026 · Assigned by Checkmarx
CVE-2026-123119Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports (Incomplete Fix for CVE-2024-50342)
Low 2.3
In plain English
A low-severity server-side request forgery in symfony from sensiolabs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | symfony | no fix listed | DEBIAN-CVE-2026-123119 |
| Debian:13 | symfony | no fix listed | DEBIAN-CVE-2026-123119 |
| Debian:14 | symfony | 7.4.23+dfsg-1 | DEBIAN-CVE-2026-123119 |
| Ubuntu:26.04:LTS | symfony | no fix listed | UBUNTU-CVE-2026-123119 |
| Ubuntu:26.10 | symfony | no fix listed | UBUNTU-CVE-2026-123119 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | 0 – before 5.4.566.0.0 – before 6.4.507.0.0 – before 7.4.238.0.0 – before 8.1.11 |
Weakness: CWE-367, CWE-918 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N