Server-side Request Forgery (SSRF) Affecting symfony/http-foundation package, versions <5.4.57>=6.0, <6.4.50>=7.0, <7.4.23>=8.0, <8.1.11


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.62% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYHTTPFOUNDATION-22958549
  • published25 Nov 2026
  • disclosed25 Nov 2026
  • creditUnknown

Introduced: 25 Nov 2026

NewCVE-2026-133748  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade symfony/http-foundation to version 5.4.57, 6.4.50, 7.4.23, 8.1.11 or higher.

Overview

symfony/http-foundation is a component defines an object-oriented layer for the HTTP specification.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via IpUtils::checkIp() failing to match IPv4-mapped IPv6 addresses (e.g. ::ffff:127.0.0.1) against IPv4 subnets when NoPrivateNetworkHttpClient is configured with a custom subnet list containing an IPv6 entry. Because checkIp() routes such addresses through the IPv6 check path, the embedded IPv4 host is never compared against the IPv4 subnet rules, allowing an attacker to reach a blocked IPv4 host by supplying an IPv4-mapped address in the URL or through a hostname whose AAAA record resolves to a mapped address.

Note: This is only exploitable when NoPrivateNetworkHttpClient is instantiated with a custom subnet list that contains at least one IPv6 entry; the default subnet list is not affected because it already includes ::ffff:0:0/96.

CVSS Base Scores

version 4.0
version 3.1