NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘 Packagist
Not in CISA KEV

Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342GHSA-c7hm-wqwp-f9v8

Fix: symfony/symfony@ab08482

GHSA-c7hm-wqwp-f9v8 is a CWE-367 vulnerability in symfony/http-client. A fix is available for symfony/http-client — see the affected versions and patch details below.

Also known asCVE-2026-123119
Published
Updated
Affected
8 pkgs
Patched
8 / 8
Exploits
None indexed
Exploitation data as of Dec 1, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-c7hm-wqwp-f9v8.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs15th percentile — riskier than 15% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

8 pkgs affected
🐘symfony/http-client🐘symfony/http-client🐘symfony/http-client🐘symfony/http-client🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Description

NoPrivateNetworkHttpClient resolves the host of each request and checks the IP before connecting. To make the decorated client connect to that same IP, it passes the IP with the resolve option. It also caches the IP of each host. But it passed the IP with resolve only when it resolved a host for the first time. On the next requests to the same host, the decorated client resolved the host again by itself.

An attacker who controls the DNS of a host can use DNS rebinding. The first lookup then returns a public IP and the next ones a private IP. 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, like CVE-2024-50342.

Resolution

NoPrivateNetworkHttpClient now passes the IP with the resolve option for cached hosts too, so that every request connects to the IP that was checked.

The patch for this issue is available here for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).

Credits

Symfony would like to thank Eirik Stanghelle Morland from Packagist for reporting the issue and Nicolas Grekas for providing the fix.

Affected Packages

8 total 8 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistsymfony/http-clientall versions5.4.56composer require symfony/http-client:^5.4.56
🐘Packagistsymfony/http-client≥ 6.0.0&&< 6.4.506.4.50composer require symfony/http-client:^6.4.50
🐘Packagistsymfony/http-client≥ 7.0.0&&< 7.4.237.4.23composer require symfony/http-client:^7.4.23
🐘Packagistsymfony/http-client≥ 8.0.0&&< 8.1.118.1.11composer require symfony/http-client:^8.1.11
🐘Packagistsymfony/symfonyall versions5.4.56composer require symfony/symfony:^5.4.56
🐘Packagistsymfony/symfony≥ 6.0.0&&< 6.4.506.4.50composer require symfony/symfony:^6.4.50

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/http-client, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update symfony/http-client to 5.4.56 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c7hm-wqwp-f9v8 is resolved across your whole dependency graph.

  3. Workarounds

    Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.

Frequently Asked Questions

### Description `NoPrivateNetworkHttpClient` resolves the host of each request and checks the IP before connecting. To make the decorated client connect to that same IP, it passes the IP with the `resolve` option. It also caches the IP of each host. But it passed the IP with `resolve` only when it resolved a host for the first time. On the next requests to the same host, the decorated client resolved the host again by itself. An attacker who controls the DNS of a host can use DNS rebinding. The first lookup then returns a public IP and the next ones a private IP. When an application sends se
O3 Security · Impact-Aware SCA

Is GHSA-c7hm-wqwp-f9v8 in your dependencies?

Find it across Packagist, including transitive dependencies.

Symfony: NoPrivateNetworkHttpClient Does Not Pin the…