Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports (Incomplete Fix for CVE-2024-50342)
CVE-2026-123119GHSA-c7hm-wqwp-f9v8Published 5 Nov 2026, 12:57 UTC
Real-world risk
0.7/ 10Low
Routine
If the vulnerable configuration applies to you: 1.5
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from Checkmarx)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| SymfonyWidespread | < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 | 5.4.56, 6.4.50, 7.4.23, 8.1.11 |
| symfony/http-clientNiche | < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 | 5.4.56, 6.4.50, 7.4.23, 8.1.11 |
What to do
Update to a fixed version: 5.4.56, 6.4.50, 7.4.23, 8.1.11.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 15), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.27 × threat 0.850.689
- Rounded to one decimal between 0.1 and 100.7
Exploitation and evidence timeline
- 5 Nov 2026 Published
- 2 Dec 2026 Risk 0.7 (cvss fallback)
Weakness
CWE-367, CWE-918
References
- https://github.com/symfony/symfony/security/advisories/GHSA-c7hm-wqwp-f9v8third-party-advisory
- https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-123119
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2026-123119.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123119.yaml
- https://github.com/symfony/symfony/releases/tag/v5.4.56
- https://github.com/symfony/symfony/releases/tag/v6.4.50
- https://github.com/symfony/symfony/releases/tag/v7.4.23
- https://github.com/symfony/symfony/releases/tag/v8.1.11
- https://github.com/advisories/GHSA-c7hm-wqwp-f9v8
- CVE-2026-123119 on CVE.org