{"id":"CVE-2026-133748","aliases":["CVE-2026-133748"],"related":[],"kind":"vulnerability","state":"published","title":"NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through","summary":"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:\n\n$client = new NoPrivateNetworkHttpClient(HttpClient::create(), ['10.0.0.0/8', '127.0.0.0/8', '192.168.0.0/16', 'fc00::/7', '::1/128']);\n$client->request('GET', 'http://127.0.0.1/');          // blocked\n$client->request('GET', 'http://[::ffff:127.0.0.1]/'); // sent to 127.0.0.1\n\nThe default list is not affected, since it contains ::ffff:0:0/96.\n\nIpUtils::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.\n\nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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:\n\n$client = new NoPrivateNetworkHttpClient(HttpClient::create(), ['10.0.0.0/8', '127.0.0.0/8', '192.168.0.0/16', 'fc00::/7', '::1/128']);\n$client->request('GET', 'http://127.0.0.1/');          // blocked\n$client->request('GET', 'http://[::ffff:127.0.0.1]/'); // sent to 127.0.0.1\n\nThe default list is not affected, since it contains ::ffff:0:0/96.\n\nIpUtils::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.\n\nThe 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.","source":"cvelist"}],"published":"2026-11-25T10:00:08.485Z","modified":"2026-12-01T17:17:28.850Z","severity":{"scorer":"Symfony","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"Symfony","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.4.57","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.4.50","status":"affected"},{"type":"semver","introduced":"7.0.0","fixed":"7.4.23","status":"affected"},{"type":"semver","introduced":"8.0.0","fixed":"8.1.11","status":"affected"}],"vendor":"Symfony","product":"symfony/http-foundation","package":"symfony/http-foundation","repo":"https://github.com/symfony/symfony","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"5.4.57","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.4.50","status":"affected"},{"type":"semver","introduced":"7.0.0","fixed":"7.4.23","status":"affected"},{"type":"semver","introduced":"8.0.0","fixed":"8.1.11","status":"affected"}],"vendor":"Symfony","product":"symfony/symfony","package":"symfony/symfony","repo":"https://github.com/symfony/symfony","source":"cvelist"}],"references":[{"url":"https://symfony.com/cve-2026-133748","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-4q4p-2q78-phfx","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/symfony/symfony/commit/f529db3745bab2a657e38ec97982a0ae95f084c2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Nicolas Grekas"],"assigner":"Symfony","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T16:46:40.722Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133748","url":"https://www.cve.org/CVERecord?id=CVE-2026-133748","licence":"CVE Terms of Use","modified":"2026-12-01T16:51:18.503Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133748","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133748","licence":"Public domain","modified":"2026-12-01T17:17:28.850Z"}],"updatedAt":"2026-12-01T17:32:17.111Z","epss":{"score":0.0062,"percentile":0.51025,"date":"2026-12-01T12:00:22.000Z"}}