- Accueil
- Vulnérabilités
- CVE-2026-123824
CVE-2026-123824
Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true
Résumé
The Symfony Config component XmlUtils::parse() enables DTD validation before rejecting documents that carry a doctype, allowing XML external entity (XXE) injection 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. A remote attacker who can supply XML to this method can determine whether local files exist, cause a denial of service, and, in some configurations, exfiltrate local file content via a crafted XML document whose doctype declares an external file:// entity. XmlUtils::parse() sets $dom->validateOnParse = true before calling loadXML() and only rejects documents carrying a doctype afterwards. Enabling DTD validation makes libxml resolve external entities during loadXML(), and LIBXML_NONET blocks http:// but not file://, so a file:// entity is read from disk before the doctype rejection runs. The content of the file is not returned to the caller, but the distinct libxml error for a missing path reveals whether a file exists, and an entity pointing at a large or slow file causes a denial of service. If the application registers a network-capable stream wrapper such as s3://, a parameter entity can also send the content of a local file to an external server. This is the same issue as CVE-2026-45071, which was fixed in the DomCrawler component but not in Config. Applications are affected if they pass untrusted XML to XmlUtils::parse() directly. The Symfony components that call it process developer-provided or operator-configured sources, such as configuration files and the XLIFF documents fetched by the translation providers.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Packagist (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| symfony/config | avant 5.4.56 (exclu) |
5.4.56 |
GitHub Advisory |
| symfony/config | de 6.0.0 (inclus) à 6.4.50 (exclu) |
6.4.50 |
GitHub Advisory |
| symfony/config | de 7.0.0 (inclus) à 7.4.23 (exclu) |
7.4.23 |
GitHub Advisory |
| symfony/config | de 8.0.0 (inclus) à 8.1.11 (exclu) |
8.1.11 |
GitHub Advisory |
| 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 |
Correctif
Mise à jour — Packagist/symfony/config 5.4.56; Packagist/symfony/config 6.4.50; Packagist/symfony/config 7.4.23; Packagist/symfony/config 8.1.11; Packagist/symfony/symfony 5.4.56; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symsource officielle
Packagist/symfony/config 5.4.56; Packagist/symfony/config 6.4.50; Packagist/symfony/config 7.4.23; Packagist/symfony/config 8.1.11; Packagist/symfony/symfony 5.4.56; Packagist/symfony/symfony 6.4.50; Packagist/symfony/symfony 7.4.23; Packagist/symfony/symfony 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-5jff-8h8q-r5qx — Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true 1 déc. 2026
Références
- https://github.com/symfony/symfony/commit/334ef21a6039355c05b123e7df60699be0e28da3patch
- https://github.com/symfony/symfony/security/advisories/GHSA-5jff-8h8q-r5qxthird-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-123824ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/config/CVE-2026-123824.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123824.yamlWEB
- https://github.com/symfony/symfonyPACKAGE
- https://github.com/symfony/symfony/releases/tag/v5.4.56WEB
- https://github.com/symfony/symfony/releases/tag/v6.4.50WEB
- https://github.com/symfony/symfony/releases/tag/v7.4.23WEB
- https://github.com/symfony/symfony/releases/tag/v8.1.11WEB
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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N(CVSS 4.0, CNA:Checkmarx)- Faiblesse
- CWE-611 · Autre (CWE-611)