- Accueil
- Vulnérabilités
- CVE-2026-123125
CVE-2026-123125
Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses allowing SSRF Filter Bypass
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Packagist (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| symfony/symfony | avant 5.4.56 (exclu) |
5.4.56 |
GitHub Advisory |
| symfony/symfony | de 6.0.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/symfony | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/symfony | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
| symfony/validator | avant 5.4.56 (exclu) |
5.4.56 |
GitHub Advisory |
| symfony/validator | de 6.0.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/validator | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/validator | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
Correctif
Mise à jour — Packagist/symfony/symfony 5.4.56; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symfony 8.1.11; Packagist/symfony/validator 5.4.56; Packagist/symfony/validator 6.4.50; Packagist/symfony/validator 7.4.23; Packagist/ssource officielle
Packagist/symfony/symfony 5.4.56; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symfony 8.1.11; Packagist/symfony/validator 5.4.56; Packagist/symfony/validator 6.4.50; Packagist/symfony/validator 7.4.23; Packagist/symfony/validator 8.1.11
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-4qpf-57w4-m3wc — Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass 1 déc. 2026
Références
- https://github.com/symfony/symfony/commit/3bf8ea37fcb402c5ecc502a3f63012df85a7572epatch
- https://github.com/symfony/symfony/security/advisories/GHSA-4qpf-57w4-m3wcthird-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-123125ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123125.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/validator/CVE-2026-123125.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
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(CVSS 4.0, CNA:Checkmarx)- Faiblesse
- CWE-184 · Autre (CWE-184)