CVE-2026-123119 — Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342
One of 2 composer:symfony/http-client vulnerabilities published together by GitHub Advisory: our article covers all of them.
PHPWebVulnerabilitiesResearch article
Symfony HTTP Client Vulnerability Allows TOCTOU Race Condition
| CVE | CVE-2026-123119 |
|---|---|
| Vendor and product | composer:symfony/http-client; composer:symfony/symfony |
| Published | December 01, 2026 21:45 UTC |
| Research cut-off | December 01, 2026 21:35 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-06); CISA KEV catalog; GitHub advisory (2026-12-01) |
Executive summary
The GitHub advisory GHSA-c7hm-wqwp-f9v8 describes a Symfony NoPrivateNetworkHttpClient issue with a TOCTOU-type CWE (CWE-367) [3], but the advisory does not name CVE-2026-123119 [3]. The flaw impacts several versions of the symfony/http-client and symfony/symfony packages, with specific fixed versions listed in the advisory [3]. The reviewed sources do not confirm any exploitation [2]. The advisory lists fixed versions for the affected packages [3].
Key points
- The GitHub advisory GHSA-c7hm-wqwp-f9v8 describes a Symfony NoPrivateNetworkHttpClient issue with a TOCTOU-type CWE (CWE-367) [3], but the advisory does not name CVE-2026-123119 [3].
- The CVSS 4.0 score is 2.3 LOW, scored by GitHub [3].
- The vulnerability impacts multiple versions of the symfony/http-client and symfony/symfony packages [3].
- The reviewed sources do not confirm any exploitation [2].
- The primary recommendation is to update to the fixed versions listed in the advisory [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-123119 | Symfony | HTTP Client | CWE-367, CWE-918 | 2.3 LOW, scored by GitHub [3] | 2026-11-05T13:17:07 | 2026-11-06T21:40:43 | Awaiting Analysis |
Vulnerability description
The GitHub advisory describes a Symfony NoPrivateNetworkHttpClient issue in which cached hosts' checked IPs are not pinned, letting DNS rebinding enumerate internal ports [3]. The issue arises from the NoPrivateNetworkHttpClient component failing to lock the IP address of cached hosts [3].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N) and low privileges (PR:L), with no user interaction required (UI:N) [3]. The attack can be initiated remotely, and the vector shows no availability impact (VA:N) [3].
Impact analysis
The GitHub advisory's CVSS 4.0 vector shows no confidentiality, integrity or availability impact (VC:N, VI:N, VA:N) [3]. While the advisory notes that DNS rebinding could be used to enumerate internal ports, it does not provide details on the specific effects on confidentiality, integrity, or availability [3].
Affected products and versions
| Affected Package | Affected Version | Fixed Version |
|---|---|---|
| symfony/http-client | < 5.4.56 | 5.4.56 [3] |
| symfony/http-client | ≥ 6.0.0, < 6.4.50 | 6.4.50 [3] |
| symfony/http-client | ≥ 7.0.0, < 7.4.23 | 7.4.23 [3] |
| symfony/http-client | ≥ 8.0.0, < 8.1.11 | 8.1.11 [3] |
| symfony/symfony | < 5.4.56 | 5.4.56 [3] |
| symfony/symfony | ≥ 6.0.0, < 6.4.50 | 6.4.50 [3] |
| symfony/symfony | ≥ 7.0.0, < 7.4.23 | 7.4.23 [3] |
| symfony/symfony | ≥ 8.0.0, < 8.1.11 | 8.1.11 [3] |
Exploitation and threat intelligence status
CVE-2026-123119 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-01 [2]. The reviewed sources do not report any confirmed exploitation [2].
Detection and exposure assessment
Users can assess their exposure by verifying if their installed versions of symfony/http-client or symfony/symfony fall within the affected ranges [3]. However, the sources do not provide specific detection steps [3].
Remediation
The advisory specifies the fixed versions for each affected package: 5.4.56, 6.4.50, 7.4.23, and 8.1.11 [3]. No alternative mitigation strategies are mentioned in the sources [3].
Remediation checklist
- Upgrade symfony/http-client to the fixed version 5.4.56 for affected 5.x installs [3].
- Upgrade symfony/http-client to version 6.4.50 or higher if using version 6.x [3].
- Upgrade symfony/http-client to version 7.4.23 or higher if using version 7.x [3].
- Upgrade symfony/http-client to version 8.1.11 or higher if using version 8.x [3].
- Upgrade symfony/symfony to version 5.4.56 or higher [3].
- Upgrade symfony/symfony to version 6.4.50 or higher if using version 6.x [3].
- Upgrade symfony/symfony to version 7.4.23 or higher if using version 7.x [3].
- Upgrade symfony/symfony to version 8.1.11 or higher if using version 8.x [3].
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not explain the underlying cause of the vulnerability.
- The sources do not describe the mechanics of the flaw.
- The sources do not provide any exploitation scenarios or attack lifecycle details.
- The sources do not mention indicators of compromise.
- The sources do not offer any alternative mitigation strategies or compensating controls.
References
- CVE-2026-123119 record. NIST National Vulnerability Database (NVD), 2026-11-06. https://nvd.nist.gov/vuln/detail/CVE-2026-123119. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- GHSA-c7hm-wqwp-f9v8 / CVE-2026-123119 — Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342. GitHub Security Advisory Database, 2026-12-01. https://github.com/advisories/GHSA-c7hm-wqwp-f9v8. Accessed 2026-12-01.
Severity breakdown
Low · 2.3
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- none
- Impact on other systems
- low on confidentiality, none on integrity and availability
Weakness
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-918: Server-Side Request Forgery (SSRF)
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/http-client (Packagist) | < 5.4.56 | 5.4.56 |
| ≥ 6.0.0, < 6.4.50 | 6.4.50 | |
| ≥ 7.0.0, < 7.4.23 | 7.4.23 | |
| ≥ 8.0.0, < 8.1.11 | 8.1.11 | |
| symfony/symfony (Packagist) | < 5.4.56 | 5.4.56 |
| ≥ 6.0.0, < 6.4.50 | 6.4.50 | |
| ≥ 7.0.0, < 7.4.23 | 7.4.23 | |
| ≥ 8.0.0, < 8.1.11 | 8.1.11 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f69…
- github.com/symfony/symfony/releases/tag/v5.4.56
- github.com/symfony/symfony/releases/tag/v6.4.50
- github.com/symfony/symfony/releases/tag/v7.4.23
- github.com/symfony/symfony/releases/tag/v8.1.11
Other references
Details
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
- composer:symfony/http-client
- composer:symfony/symfony
Frequently asked questions
What is CVE-2026-123119?
The GitHub advisory GHSA-c7hm-wqwp-f9v8 describes a Symfony NoPrivateNetworkHttpClient issue with a TOCTOU-type CWE (CWE-367), but the advisory does not name CVE-2026-123119. The flaw impacts several versions of the symfony/http-client and symfony/symfony packages, with specific fixed versions listed in the advisory. The reviewed sources do not confirm any exploitation. Weakness type: Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367).
How severe is CVE-2026-123119?
CVE-2026-123119 has a CVSS 4.0 base score of 2.3 (low), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-123119 being exploited?
Not as far as is known: CVE-2026-123119 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123119?
symfony/http-client (Packagist) < 5.4.56 (fixed in 5.4.56); symfony/http-client (Packagist) ≥ 6.0.0, < 6.4.50 (fixed in 6.4.50); symfony/http-client (Packagist) ≥ 7.0.0, < 7.4.23 (fixed in 7.4.23); symfony/http-client (Packagist) ≥ 8.0.0, < 8.1.11 (fixed in 8.1.11); and more, listed on this page.
How do I fix CVE-2026-123119?
Upgrade symfony/http-client to the fixed version 5.4.56 for affected 5.x installs. Upgrade symfony/http-client to version 6.4.50 or higher if using version 6.x. Upgrade symfony/http-client to version 7.4.23 or higher if using version 7.x.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-5w3m-mfwg-9f8r / CVE-2026-118513 — Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
- GHSA-gq53-v8w2-gjhj / CVE-2026-121971 — Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References
- GHSA-h38r-xrmh-cwhr / CVE-2026-118515 — Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
- miniBB 3.7.2 login open redirect lets forged POST data send users to external sites; fixed in 3.8
- Joomla! Core PHP Object Injection Vulnerability in 1.5.0-5.4.11 and 6.0.0-6.2.1