Skip to main content
CVE-2026-123125VulnerabilityPublished

symfony/symfony · Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass

Affects symfony/symfonySource GCVE Database

0
Compare
Authoritative record:CVE-2026-123125· Medium 6.3

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Sources agree

CVSS scores by source
CNA (Checkmarx)CVSS 4.06.3
CISA-ADPCVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistsymfony/symfonyAffected
  • <5.4.56
Fixed in
  • 5.4.56
Packagistsymfony/symfonyAffected
  • >=6.0.0 <6.4.50
Fixed in
  • 6.4.50
Packagistsymfony/symfonyAffected
  • >=7.0.0 <7.4.23
Fixed in
  • 7.4.23
Packagistsymfony/symfonyAffected
  • >=8.0.0 <8.1.11
Fixed in
  • 8.1.11
Packagistsymfony/validatorAffected
  • <5.4.56
Fixed in
  • 5.4.56
Packagistsymfony/validatorAffected
  • >=6.0.0 <6.4.50
Fixed in
  • 6.4.50

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

Community reviews

Loading reviews…