Incomplete List of Disallowed Inputs Affecting symfony/validator package, versions <5.4.56>=6.0.0, <6.4.50>=7.0.0, <7.4.23>=8.0.0, <8.1.11


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYVALIDATOR-23195671
  • published1 Dec 2026
  • disclosed5 Nov 2026
  • creditzx (Jace)

Introduced: 5 Nov 2026

NewCVE-2026-123125  (opens in a new tab)
CWE-184  (opens in a new tab)

How to fix?

Upgrade symfony/validator to version 5.4.56, 6.4.50, 7.4.23, 8.1.11 or higher.

Overview

Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs via IpValidator in the filtered modes of the Ip constraint (NO_PRIV, NO_RES, and ONLY_PUBLIC), which relies solely on PHP's FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE flags to classify addresses. These flags do not cover shared address space (100.64.0.0/10), documentation and benchmarking ranges, or IPv4-mapped, IPv4-compatible, and 6to4 IPv6 addresses that embed internal IPv4 addresses. An attacker can supply an address such as ::ffff:10.0.0.1 or 100.64.0.1 that passes validation despite pointing to an internal host, bypassing the constraint and enabling SSRF when the application makes a server-side request to the user-supplied address.

Note: This is only exploitable when the application uses the Ip constraint in one of the filtered modes (V4_NO_PRIV, V6_NO_PRIV, ALL_NO_PRIV, V4_NO_RES, V6_NO_RES, ALL_NO_RES, V4_ONLY_PUBLIC, V6_ONLY_PUBLIC, or ALL_ONLY_PUBLIC) as a security filter against internal addresses; the default V4 mode performs no range filtering and is unaffected.

CVSS Base Scores

version 4.0
version 3.1