symfony/symfony · Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass
Affects symfony/symfonySource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 5.4.56 when convenient.
Data as of 1 Dec 2026, 23:46 UTC
Sources agree
| CNA (Checkmarx) | CVSS 4.0 | 6.3 |
|---|---|---|
| CISA-ADP | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 5.4.56, 6.4.50, 7.4.23 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/validator | Affected
| Fixed in
|
| Packagistsymfony/validator | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches provided by Symfony in versions 5.4.56, 6.4.50, 7.4.23, 8.1.11, or later. These patches add additional subnet checks to the IpValidator component, ensuring that non-public IP ranges are correctly rejected in filtered modes. If upgrading is not immediately possible, review and avoid relying solely on IpValidator's filtered modes for critical IP-based security filtering. Note that the default unfiltered modes are unaffected and that the patch tightens validation, potentially rejecting addresses previously accepted.
Description
Symfony's IpValidator component incorrectly classifies certain IPv4-mapped and IPv4-compatible IPv6 addresses when using public/private/reserved IP filtering modes. This misclassification allows these addresses to bypass intended SSRF (Server-Side Request Forgery) protections relying on these filters. The issue arises because the validator relies solely on PHP's FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE flags, which do not cover all relevant IP ranges and have inconsistent behavior across PHP versions. The vulnerability affects applications that opt-in to use these filtered modes as security controls. Symfony has released patches that add stricter subnet checks to address this issue.
References
- github.com/symfony/symfony/security/advisories/GHSA-4qpf-57w4-m3wc (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-123125 (opens in a new tab)
- github.com/symfony/symfony/commit/3bf8ea37fcb402c5ecc502a3f63012df85a7572e (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123125.yaml (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2026-123125.yaml (opens in a new tab)
- github.com/symfony/symfony (opens in a new tab)