CVE-2026-123119: Symfony NoPrivateNetworkHttpClient Does Not Pin The Vulnerability
LOWCVE-2026-123119 is a LOW noprivatenetworkhttpclient does not pin the vulnerability (CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition) affecting Symfony libraries in the Packagist ecosystem. The issue involves noprivatenetworkhttpclient does not pin the checked ip of cached hosts, letting dns rebinding enumerate internal ports: incomplete fix for cve-2024-50342. Remediation is available by upgrading affected packages to version 5.4.56, 6.4.50, 7.4.23, 8.1.11.
CVE-2026-123119 at a Glance
How to Fix CVE-2026-123119
To remediate this vulnerability, upgrade all affected Symfony dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/http-client to 5.4.56
Upgrade symfony/http-client to 6.4.50
Upgrade symfony/http-client to 7.4.23
Upgrade symfony/http-client to 8.1.11
Upgrade symfony/symfony to 5.4.56
Upgrade symfony/symfony to 6.4.50
Upgrade symfony/symfony to 7.4.23
Upgrade symfony/symfony to 8.1.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/http-client
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-123119, inspect your project dependencies for Symfony:
inspect dependencies for symfony/http-client
Analyze the terminal output to locate any version of Symfony in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.56), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition, where the product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. In Symfony, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-123119 Affected Symfony Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/http-client
|
Packagist |
< 5.4.56
|
5.4.56
|
|
symfony/http-client
|
Packagist |
≥ 6.0.0
< 6.4.50
|
6.4.50
|
|
symfony/http-client
|
Packagist |
≥ 7.0.0
< 7.4.23
|
7.4.23
|
|
symfony/http-client
|
Packagist |
≥ 8.0.0
< 8.1.11
|
8.1.11
|
|
symfony/symfony
|
Packagist |
< 5.4.56
|
5.4.56
|
|
symfony/symfony
|
Packagist |
≥ 6.0.0
< 6.4.50
|
6.4.50
|
|
symfony/symfony
|
Packagist |
≥ 7.0.0
< 7.4.23
|
7.4.23
|
|
symfony/symfony
|
Packagist |
≥ 8.0.0
< 8.1.11
|
8.1.11
|
References
Frequently Asked Questions
What is CVE-2026-123119?
Which Symfony versions are affected?
What version fixes CVE-2026-123119?
Is symfony/http-client affected?
Is symfony/symfony affected?
What CWE is associated with CVE-2026-123119?
How can I check Packagist dependencies for CVE-2026-123119?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c7hm-wqwp-f9v8",
"modified" : "2026-12-01T21:21:00Z",
"published" : "2026-12-01T21:21:00Z",
"aliases" : [ "CVE-2026-123119" ],
"summary" : "Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342",
"details" : "### Description\n\n`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.\n\nAn 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.\n\n### Resolution\n\n`NoPrivateNetworkHttpClient` now passes the IP with the `resolve` option for cached hosts too, so that every request connects to the IP that was checked.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9) for branch 5.4 (and forward-ported to 6.4, 7.4, 8.1 and 8.2).\n\n### Credits\n\nSymfony would like to thank [Eirik Stanghelle Morland](https://github.com/eiriksm) from Packagist for reporting the issue and Nicolas Grekas for providing the fix.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.56"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.4.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.4.23"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.4.56"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.4.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.4.23"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.1.11"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/security/advisories/GHSA-c7hm-wqwp-f9v8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-123119"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/commit/ab084826b2b5db8d0b91af635fe2b5e1c4f699f9"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-client/CVE-2026-123119.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123119.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/symfony/symfony"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v5.4.56"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v6.4.50"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v7.4.23"
}, {
"type" : "WEB",
"url" : "https://github.com/symfony/symfony/releases/tag/v8.1.11"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-367", "CWE-918" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-01T21:21:00Z",
"nvd_published_at" : "2026-11-05T13:17:07Z"
}
}