{"affected":[{"defaultStatus":"unaffected","ecosystem":"https://packagist.org/packages/symfony/http-client","packageName":"symfony/http-client","product":"symfony","source":"CNA: Checkmarx","vendor":"sensiolabs","versions":[{"lessThan":"5.4.56","status":"affected","version":"0","versionType":"git"},{"lessThan":"6.4.50","status":"affected","version":"6.0.0","versionType":"git"},{"lessThan":"7.4.23","status":"affected","version":"7.0.0","versionType":"git"},{"lessThan":"8.1.11","status":"affected","version":"8.0.0","versionType":"git"}]}],"cveId":"CVE-2026-123119","cwes":["CWE-367","CWE-918"],"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.\n\nNoPrivateNetworkHttpClient 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.\n\nAn 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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":2.3,"severity":"low","source":"CNA: Checkmarx","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","version":"4.0"}],"modifiedAt":1793883455267,"publishedAt":1793883455267,"references":[{"source":"CNA: Checkmarx","tags":["third-party-advisory"],"url":"https://github.com/symfony/symfony/security/advisories/GHSA-c7hm-wqwp-f9v8"},{"source":"CNA: Checkmarx","tags":["patch"],"url":"https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9"}],"remediation":[{"kind":"fix","source":"CNA: Checkmarx","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9"}],"revision":"ce1f5faa4690d60a81416ce860910d59064269ad387104b4ca2359adac61b79d","sources":[{"modifiedAt":1793883455267,"name":"CNA: Checkmarx","retrievedAt":1793887764687,"url":"https://www.cve.org/CVERecord?id=CVE-2026-123119"}],"ssvc":null,"status":"published","title":"Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports (Incomplete Fix for CVE-2024-50342)","updatedAt":1793887764687}