Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/symfony | < 5.4.56 | 5.4.56 |
| composer:symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
| composer:symfony/validator | < 5.4.56 | 5.4.56 |
Show all (8)
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/validator | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/validator | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/validator | >= 8.0.0, < 8.1.11 | 8.1.11 |
Symfony\Component\Validator\Constraints\IpValidator decides the public, private and reserved classification for the Ip constraint's filtered modes solely from PHP's FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE flags, with no second check. Those flags are an incomplete basis for this purpose, in two ways. Whole ranges are covered by neither flag. 100.64.0.0/10 (RFC 6598 shared address space, which is genuinely routed internal space), the TEST-NET ranges 192.0.2.0/24, 198.51.100.0/24, 2…
Read on GitHub Advisory Database
On 12/02/2026, 06:26 AM, GitHub Advisory Database published "Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass" (type: Advisory). Severity is "Medium" (medium). Related technologies: PHP, Symfony. CVE: CVE-2026-123125.