{"id":"CVE-2026-123824","summary":"Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true","details":"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.\nXmlUtils::parse() sets $dom-\u003evalidateOnParse = 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.\n\nApplications 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.","aliases":["GHSA-5jff-8h8q-r5qx"],"modified":"2026-11-08T02:47:34.559864870Z","published":"2026-11-06T17:19:24.750Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123824.json","cna_assigner":"Checkmarx","cwe_ids":["CWE-611"]},"references":[{"type":"WEB","url":"https://packagist.org/packages/symfony/config"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123824.json"},{"type":"ADVISORY","url":"https://github.com/symfony/symfony/security/advisories/GHSA-5jff-8h8q-r5qx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123824"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/334ef21a6039355c05b123e7df60699be0e28da3"},{"type":"PACKAGE","url":"https://github.com/symfony/config"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/config","events":[{"introduced":"0"},{"fixed":"94bc7e95a6c8b8729c4379343e749b261bf91b36"},{"introduced":"df4871981fd37f953c117b55feac03462be5a2d6"},{"fixed":"d1923e260b33263f3de01921d6009a598544a43a"},{"introduced":"8789646600f4e7e451dde9e1dc81cfa429f3857a"},{"fixed":"8ef666abf731e85e59cf478929dda6c7cb2fa9c4"},{"introduced":"12d43bf5ebe79ab96da294f468c38794e1a2c98b"},{"fixed":"8a6f757bf803464bc8451e1fafc3699588e29c48"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"5.4.56"}]},{"range":[{"introduced":"6.0.0"},{"fixed":"6.4.50"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"7.0.0"},{"fixed":"7.4.23"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"8.0.0"},{"fixed":"8.1.11"}],"source":"AFFECTED_FIELD"}]}},{"type":"GIT","repo":"https://github.com/symfony/symfony","events":[{"introduced":"0"},{"fixed":"d44b243381597fdc2830d1e6a878fda10293b49b"},{"fixed":"8d8b1b074c4aa6489a4fedac2ae0af4d0268e9c3"},{"introduced":"2ae542748a8065aba925b44b99755010dbf12ac9"},{"fixed":"b655baf04a3727b85d4a2fa7e85aa46c5c9c8e05"},{"introduced":"85778caba16ad6830fdc28eaa6ee8c1e91d009ef"},{"fixed":"eca3b7b6bd3af91752b3f4b36959520d409ee279"},{"fixed":"334ef21a6039355c05b123e7df60699be0e28da3"}],"database_specific":{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"0"},{"fixed":"5.4.56"}]},{"range":[{"introduced":"7.x"},{"fixed":"7.4.23"}],"source":"DESCRIPTION"},{"source":"DESCRIPTION","range":[{"introduced":"6.x"},{"fixed":"6.4.50"}]},{"range":[{"introduced":"8.x"},{"fixed":"8.1.11"}],"source":"DESCRIPTION"},{"range":[{"fixed":"334ef21a6039355c05b123e7df60699be0e28da3"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v8.1.10","v7.4.22","v6.4.49","v8.1.5","v7.4.17","v6.4.44","v5.4.46","v8.1.4","v7.4.16","v6.4.43","v8.1.2","v7.4.15","v8.1.1","v7.4.14","v6.4.42","v8.1.0","v7.4.10","v6.4.37","v8.1.0-BETA1","v7.4.9","v6.4.34","v7.4.8","v7.4.7","v7.4.6","v7.4.4","v6.4.32","v6.4.28","v7.4.3","v8.0.1","v7.4.1","v7.4.0","v8.0.0-RC1","v8.0.0-BETA2","v8.0.0","v7.4.0-RC1","v7.4.0-BETA2","v7.4.0-BETA1","v6.4.26","v6.4.24","v7.3.0-RC1","v7.3.0","v6.4.22","v7.3.0-BETA1","v6.4.14","v7.2.0-RC1","v7.2.0-BETA2","v7.2.0","v7.2.0-BETA1","v6.4.13","v5.4.45","v7.1.1","v6.4.8","v5.4.40","v7.1.0","v7.1.0-RC1","v7.1.0-BETA1","v6.4.7","v5.4.39","v6.4.6","v5.4.38","v6.4.4","v5.4.36","v6.4.3","v5.4.35","v7.0.0-RC1","v7.0.0-BETA3","v7.0.0","v6.4.0-RC1","v6.4.0-BETA3","v6.4.0","v5.4.31","v5.4.26","v6.4.0-BETA2","v6.4.0-BETA1","v6.3.0-RC1","v6.3.0-BETA1","v6.3.0","v5.4.21","v5.4.19","v6.2.0-RC1","v6.2.0-BETA3","v6.2.0","v6.1.3","v5.4.11","v6.2.0-BETA1","v6.1.0","v5.4.9","v6.1.0-RC1","v6.1.0-BETA2","v5.4.8","v6.1.0-BETA1","v5.4.7","v5.4.3","v5.4.2","v6.0.0-RC1","v6.0.0","v5.4.0","v5.4.0-RC1","v5.4.0-BETA2","v5.4.0-BETA1","v5.3.0-RC1","v5.3.0-BETA3","v5.3.0-BETA2","v5.3.0-BETA1","v5.2.3","v5.2.2","v5.2.1","v5.2.0-RC2","v5.2.0","v5.2.0-RC1","v5.2.0-BETA3","v5.2.0-BETA2","v5.2.0-BETA1","v5.1.0-RC1","v5.1.0-BETA1","v5.0.0-RC1","v5.0.0-BETA2","v5.0.0-BETA1","v4.3.0-BETA1","v4.2.0-RC1","v4.2.0","v4.2.0-BETA2","v4.2.0-BETA1","v4.1.0-BETA1","v4.0.1","v4.0.0-RC2","v4.0.0-RC1","v4.0.0","v4.0.0-BETA4","v4.0.0-BETA3","v4.0.0-BETA2","v4.0.0-BETA1","v3.3.0-BETA1","v3.3.0-RC1","v3.2.0-RC2","v3.2.0-RC1","v3.2.0-BETA1","v3.1.0-BETA1","v3.0.0-BETA1","v3.0.0","v2.6.0-BETA1","v2.5.0-RC1","v2.5.0-BETA2","v2.5.0","v2.5.0-BETA1","v2.4.0-RC1","v2.4.0-BETA2","v2.4.0-BETA1","v2.1.2","v2.1.1","v2.1.0","v2.0.1","v2.0.0","v5.4.55","v5.4.54","v8.1.9","v7.4.21","v6.4.48","v8.1.8","v7.4.20","v6.4.47","v8.1.7","v7.4.19","v6.4.46","v8.1.6","v7.4.18","v6.4.45","v5.4.53","v8.1.3","v8.1.0-RC1","v7.4.13","v6.4.41","v5.4.52","v8.1.0-BETA3","v7.4.12","v6.4.40","v5.4.51","v8.1.0-BETA2","v7.4.11","v6.4.39","v6.4.38","v6.4.36","v6.4.35","v7.4.5","v6.4.33","v6.4.31","v5.4.50","v7.4.2","v6.4.30","v7.4.0-RC3","v7.4.0-RC2","v6.4.29","v5.4.49","v6.4.27","v8.0.0-BETA1","v6.4.25","v6.4.23","v7.3.0-BETA2","v6.4.21","v6.4.20","v6.4.19","v6.4.18","v6.4.17","v6.4.16","v5.4.48","v6.4.15","v5.4.47","v6.4.12","v5.4.44","v6.4.11","v5.4.43","v6.4.10","v5.4.42","v6.4.9","v5.4.41","v6.4.5","v5.4.37","v6.4.2","v5.4.34","v6.4.1","v5.4.33","v5.4.32","v6.4.0-RC2","v7.0.0-BETA2","v5.4.30","v7.0.0-BETA1","v5.4.29","v5.4.28","v5.4.27","v5.4.25","v5.4.24","v6.3.0-BETA3","v6.3.0-BETA2","v5.4.23","v5.4.22","v5.4.20","v5.4.18","v5.4.17","v5.4.16","v6.2.0-BETA2","v5.4.15","v5.4.14","v5.4.13","v5.4.12","v5.4.10","v5.4.6","v5.4.5","v5.4.4","v5.4.1","v6.0.0-BETA3","v5.4.0-BETA3","v6.0.0-BETA2","v6.0.0-BETA1","v5.3.0-BETA4","v2.3.0-BETA2","v2.3.0-BETA1","v2.2.0-BETA2","v2.2.0-BETA1","v2.1.0-RC2","v2.1.0-RC1","v2.1.0-BETA4","v2.1.0-BETA3","v2.1.0-BETA2","v2.1.0-BETA1","v2.0.0-RC6","v2.0.0-RC5","v2.0.0-RC4","v2.0.0-RC3","v2.0.0-RC2","v2.0.0-RC1","v2.0.0BETA5","v2.0.0BETA4","v2.0.0BETA3","v2.0.0BETA2","v2.0.0BETA1","vPR9","vPR8","v2.0.0PR8"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-123824.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}