CVE-2026-133748
published medium CVSS 4.0 · 6.3NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Symfony | — | symfony/http-foundation0 to < 5.4.57 · 6.0.0 to < 6.4.50 · 7.0.0 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected | Affected | Not stated | Symfony |
| Symfony | — | symfony/symfony0 to < 5.4.57 · 6.0.0 to < 6.4.50 · 7.0.0 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected | Affected | Not stated | Symfony |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | symfony | Advisory build | 6.4.51+dfsg-0+deb13u1 | DSA-6668-1 |
Description
NoPrivateNetworkHttpClient accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets IpUtils::checkIp() decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, checkIp() didn't match an IPv4-mapped address like ::ffff:127.0.0.1 against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So http://[::ffff:127.0.0.1]/, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host: $client = new NoPrivateNetworkHttpClient(HttpClient::create(), ['10.0.0.0/8', '127.0.0.0/8', '192.168.0.0/16', 'fc00::/7', '::1/128']); $client->request('GET', 'http://127.0.0.1/'); // blocked $client->request('GET', 'http://[::ffff:127.0.0.1]/'); // sent to 127.0.0.1 The default list is not affected, since it contains ::ffff:0:0/96. IpUtils::checkIp() now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too. The fix is in symfony/http-foundation, so updating symfony/http-client alone isn't enough. On 5.4, trusted proxies and the ips of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. NoPrivateNetworkHttpClient also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- Symfony · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Symfony | symfony/http-foundation | 0 to < 5.4.57 (affected · semver)6.0.0 to < 6.4.50 (affected · semver)7.0.0 to < 7.4.23 (affected · semver)8.0.0 to < 8.1.11 (affected · semver)Default: unaffected | Symfony · cna |
| Symfony | symfony/symfony | 0 to < 5.4.57 (affected · semver)6.0.0 to < 6.4.50 (affected · semver)7.0.0 to < 7.4.23 (affected · semver)8.0.0 to < 8.1.11 (affected · semver)Default: unaffected | Symfony · cna |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery
References
3- https://github.com/symfony/symfony/commit/f529db3745bab2a657e38ec97982a0ae95f084c2
- GHSA-4q4p-2q78-phfx https://github.com/symfony/symfony/security/advisories/GHSA-4q4p-2q78-phfx
- CVE-2026-133748 https://symfony.com/cve-2026-133748
Provider assertions
2Symfony · cna
NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 64d8daddc1489280ba97a4e440699a402c32942b1405a0bac3a03e6ac107f43a
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record