symfony/http-foundation security advisory
CVE-2026-133748: NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through in symfony/http-foundation
CVE-2026-133748 is a medium-severity SSRF vulnerability in the PHP package symfony/http-foundation (CVSS 6.3), published 25 November 2026. It is fixed in 5.4.57, 6.4.50, 7.4.23 and 8.1.11, one per release line; earlier versions on each line are affected. It can be exploited without an account.
published 2026-11-25
- Affected versions
- >= 2.0.0, < 5.4.57
>= 6.0.0, < 6.4.50
>= 7.0.0, < 7.4.23
>= 8.0.0, < 8.1.11 - Fixed in
- 5.4.57, 6.4.50, 7.4.23, 8.1.11
- Newest release
- 8.2.0
- Type
- Server-side request forgery (SSRF)
CWE-918 - Exploited in the wild
- Not on the CISA KEV list
checked 2026-11-29
Also affects
- symfony/symfony >= 2.0.0, < 5.4.57; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 fixed in 5.4.57, 6.4.50, 7.4.23, 8.1.11
Is your symfony/http-foundation version affected?
Who can exploit CVE-2026-133748
- Access: No account. Anyone who can send a request to an app that uses the affected code.
- Conditions: It only works under specific conditions the attacker does not fully control (CVSS rates the attack as high complexity).
Technical details
Weakness
Server-side request forgery (SSRF) CWE-918
The server can be made to send requests to an address the attacker chooses.
This can reach internal services that are not exposed to the internet, such as cloud metadata endpoints.
General description of this issue type. The advisory below covers this bug.
CVSS 4.0 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- Low
- Attack requirements
- Specific conditions
- Privileges required
- None
- User interaction
- None
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- None
CVSS 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
How to fix CVE-2026-133748 in symfony/http-foundation
- Find the installed version:
composer show symfony/http-foundation. If you never required it yourself,composer why symfony/http-foundationshows which package pulls it in. - Update it:
composer update symfony/http-foundation --with-all-dependencies. You need the fixed version for your release line (5.4.57, 6.4.50, 7.4.23 and 8.1.11). - If Composer will not go that high, your composer.json constraint is holding it back. Widen it (for example
"symfony/http-foundation": "^8.1.11"if you can take that version), or upgrade the package that requires it. - Run
composer audit. It reads the same advisory data and should no longer list CVE-2026-133748. - Commit composer.lock and deploy it. On the server, run
composer install --no-devfrom the lock file, notcomposer update.
If you cannot upgrade yet
- Block outbound requests from the app server to private ranges and cloud metadata (169.254.169.254) at the firewall.
- Do not pass user-supplied URLs to the affected feature.
- If your app does not use the affected feature, note that in your audit, but still plan the upgrade.
Is your project exposed to CVE-2026-133748?
Check the one package here, or check everything your project installs at once.
- Check symfony/http-foundation Enter your installed version and compare it with every known symfony/http-foundation advisory. Check my version
-
Check your whole composer.lock
The free checker compares every locked package with the same advisory data
composer audituses. Check composer.lock
The CVE-2026-133748 advisory
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.
References
- GitHub security advisory GHSA-4q4p-2q78-phfx github.com
- Symfony security advisory symfony.com
- Fix commit f529db3 github.com
Other symfony/http-foundation advisories
- CVE-2026-121619: The "private_ranges" Trusted Proxies Shortcut Trusts Clients Presenting an IPv4-Mapped, 6to4, Teredo or NAT64 Address as Reverse Proxies 2026-11-04
- CVE-2026-135802: Generated URLs Can Point to a Host Chosen by the Client 2026-11-04
- CVE-2026-135801: Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name 2026-11-04
- CVE-2026-118514: HEAD Requests Bypass the methods Option of security.access_control Rules and Firewalls: Incomplete Fix for CVE-2026-45075 2026-11-04
- high CVE-2026-108082: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header 2026-09-15
- medium CVE-2026-48736: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient 2026-05-26
Related
Need help patching or upgrading? Laskyr does PHP and Laravel security fixes and upgrades. Tell us what you run and we reply with a plan and a price.
Ask about a fixWhere this data comes from
- Affected and fixed versions: the Packagist security advisories API (GitHub Advisory Database and FriendsOfPHP), the same data
composer audituses. Synced 2026-11-29. - Description, score, weakness and references: NIST National Vulnerability Database (NVD), checked 2026-11-27. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Exploited-in-the-wild status: the CISA Known Exploited Vulnerabilities catalog, checked 2026-11-29.
- Compiled by Daniel Lasek at Laskyr from the sources above. Everything outside the quoted description is our plain-English reading of the record, generated from it. Spot an error? Tell us.