CVE-2026-123125
MEDIUM 6.3CVSS 4.0Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass
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.
- Published
- 5 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 596c5446-0ce5-4ba2-aa66-48b3b757a647
- NVD status
- Awaiting Analysis
- Weakness
- CWE-184CWE-918
- Also known as
- GHSA-4qpf-57w4-m3wc
- Sources
- NVDJSONOSV GHSA-4qpf-57w4-m3wcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 596c5446-0ce5-4ba2-aa66-48b3b757a647 (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | symfony/symfony | < 5.4.56 | 5.4.56 |
| OSV | Packagist | symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| OSV | Packagist | symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| OSV | Packagist | symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
| OSV | Packagist | symfony/validator | < 5.4.56 | 5.4.56 |
| OSV | Packagist | symfony/validator | >= 6.0.0, < 6.4.50 | 6.4.50 |
| OSV | Packagist | symfony/validator | >= 7.0.0, < 7.4.23 | 7.4.23 |
| OSV | Packagist | symfony/validator | >= 8.0.0, < 8.1.11 | 8.1.11 |
References
- https://github.com/symfony/symfony/commit/3bf8ea37fcb402c5ecc502a3f63012df85a7572e · WEB
- https://github.com/symfony/symfony/security/advisories/GHSA-4qpf-57w4-m3wc · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-123125 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123125.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2026-123125.yaml · WEB
- https://github.com/symfony/symfony · PACKAGE
History
- 1 Dec 2026 22:45 UTC · OSV: first stored (published 1 Dec 2026)
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 5 Nov 2026)