🔐 CVE Alert

CVE-2026-123125

MEDIUM 6.5

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

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

The Symfony Validator component IpValidator incompletely classifies internal addresses in the filtered modes of the Ip constraint, so some internal addresses are accepted as public, which can lead to Server-Side Request Forgery (SSRF) in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. In these modes, IpValidator relies on the PHP flags FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE to classify addresses as public, private, or reserved. These flags do not cover shared address space (100.64.0.0/10) or IPv4-mapped, IPv4-compatible, and 6to4 IPv6 addresses, which can embed internal IPv4 addresses. A value such as ::ffff:127.0.0.1 can therefore pass validation even though it points to an internal host. Applications that rely on the Ip constraint to reject internal addresses, for example before making a server-side request to a user-supplied address, can be exposed to SSRF.

CWE CWE-184 CWE-918
Vendor sensiolabs
Product symfony
Published Nov 5, 2026
Last Updated Nov 5, 2026
Stay Ahead of the Next One

Get instant alerts for sensiolabs symfony

Be the first to know when new medium vulnerabilities affecting sensiolabs symfony are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

sensiolabs / symfony
0 < 5.4.56 6.0.0 < 6.4.50 7.0.0 < 7.4.23 8.0.0 < 8.1.11

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/symfony/symfony/security/advisories/GHSA-4qpf-57w4-m3wc github.com: https://github.com/symfony/symfony/commit/3bf8ea37fcb402c5ecc502a3f63012df85a7572e

Credits

zx (Jace) Nicolas Grekas