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.
Published: 2026-11-05
Score: 2.3 Low
EPSS: n/a
KEV: No
Impact: Internal Network Enumeration
Action: Assess Impact
AI Analysis

Impact

The Symfony NoPrivateNetworkHttpClient fails to maintain the IP address that it checked during DNS resolution for cached host entries. This allows an attacker who controls the DNS for a target domain to perform a DNS rebinding attack: the first DNS lookup returns a public IP, satisfying the initial check, while subsequent lookups resolve to a private IP that lies inside the target network. As the client uses the IP from the first lookup only for the first request, later requests are sent to the private IP, enabling the application to probe internal hosts and open ports. The vulnerability does not provide code execution or privilege escalation; its primary impact is the enumeration of internal network hosts and listening services, which can subsequently aid in further attacks.

Affected Systems

This issue affects the Symfony HttpClient component provided by SensioLabs. All Symfony releases older than 5.4.56, 6.4.50, 7.4.23, and 8.1.11 are vulnerable. Users running any of these versions on their applications that use NoPrivateNetworkHttpClient are at risk. The vulnerability is documented in the Symfony GitHub repository under the commit ab084826b2b5db8d0b91af635fe2b5e1c4f699f9 and the public advisory GHSA-c7hm-wqwp-f9v8.

Risk and Exploitability

The CVSS base score is 2.3, reflecting a low severity assessment. No EPSS score is published, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog, suggesting limited evidence of active exploitation. An attacker would need to control the DNS of a host that the application contacts through the same HttpClient instance. While the scenario is plausible in client‑side or federated situations, the exploitation requires targeted setup, which reduces the likelihood of widespread attacks. Nonetheless, because the vulnerability permits internal network discovery, it can serve as a preliminary reconnaissance step for later, more severe attacks.

Generated by OpenCVE AI on November 5, 2026 at 14:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Symfony 5.4.56, 6.4.50, 7.4.23, or 8.1.11 or newer, where NoPrivateNetworkHttpClient correctly pins the IP for cached host requests.
  • If immediate upgrade is impossible, apply the recorded commit ab084826b2b5db8d0b91af635fe2b5e1c4f699f9 to your Symfony codebase to fix the issue.
  • Restrict DNS queries for the application by using a trusted internal resolver or blocking dynamic DNS changes that could facilitate rebinding, and consider firewall rules to block connections to private subnets from untrusted domains.

Generated by OpenCVE AI on November 5, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Sensiolabs
Sensiolabs symfony
Vendors & Products Sensiolabs
Sensiolabs symfony

Thu, 05 Nov 2026 13:15:00 +0000

Type Values Removed Values Added
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.
Title Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports (Incomplete Fix for CVE-2024-50342)
Weaknesses CWE-367
CWE-918
References
Metrics cvssV4_0

{'score': 2.3, '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'}


Subscriptions

Sensiolabs Symfony
cve-icon MITRE

Status: PUBLISHED

Assigner: Checkmarx

Published:

Updated: 2026-11-05T12:57:35.267Z

Reserved: 2026-11-05T12:32:19.431Z

Link: CVE-2026-123119

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T13:17:07.640

Modified: 2026-11-05T13:17:07.640

Link: CVE-2026-123119

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T16:00:18Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-918

    Server-Side Request Forgery (SSRF)