CVE-2026-123125

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.
Configurations

No configuration.

History

05 Nov 2026, 17:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

05 Nov 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-05 16:17

Updated : 2026-11-06 21:40


NVD link : CVE-2026-123125

Mitre link : CVE-2026-123125

CVE.ORG link : CVE-2026-123125


JSON object : View

Products Affected

No product.

CWE
CWE-184

Incomplete List of Disallowed Inputs

CWE-918

Server-Side Request Forgery (SSRF)