Skip to content
Laskyr

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

6.3 Medium CVSS 4.0

Fixed in symfony/http-foundation 5.4.57, 6.4.50, 7.4.23 and 8.1.11

This SSRF issue affects symfony/http-foundation in 4 release lines: >= 2.0.0, < 5.4.57; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11. Upgrade to the fixed version for your release line (5.4.57, 6.4.50, 7.4.23 and 8.1.11). The newest release, 8.2.0, is not affected.

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

The same advisory covers another package in our list. Fix whichever one your project installs.

Is your symfony/http-foundation version affected?

Run composer show symfony/http-foundation in your project, then enter the version. We check it against this and every other known symfony/http-foundation advisory.

Who can exploit CVE-2026-133748

Your app is only exposed if it uses the affected part of symfony/http-foundation. The advisory below says which part that is. If you are not sure, upgrade anyway: it costs less than finding out.

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

  1. Find the installed version: composer show symfony/http-foundation. If you never required it yourself, composer why symfony/http-foundation shows which package pulls it in.
  2. 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).
  3. 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.
  4. Run composer audit. It reads the same advisory data and should no longer list CVE-2026-133748.
  5. Commit composer.lock and deploy it. On the server, run composer install --no-dev from the lock file, not composer update.

If you cannot upgrade yet

General hardening for SSRF issues while the upgrade waits. None of it replaces the fix.

Is your project exposed to CVE-2026-133748?

Check the one package here, or check everything your project installs at once.

  1. Check symfony/http-foundation Enter your installed version and compare it with every known symfony/http-foundation advisory. Check my version
  2. Check your whole composer.lock The free checker compares every locked package with the same advisory data composer audit uses. 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.

Description from the CVE record, via the NVD entry for CVE-2026-133748. Advisory title: “CVE-2026-133748: NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through”.

References

Other symfony/http-foundation advisories

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 fix

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.