{"id":"CVE-2026-56817","published":"2026-07-21T22:06:56Z","modified":"2026-07-22T15:42:09Z","title":"Netty: XML External Entity (XXE) injection via unconfigured XML factory when DTD and entity processing are enabled","vendor":"netty","product":"netty","tier":"tail","description":{"text":"Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final through 4.2.15.Final and 4.1.0.Final through 4.1.135.Final, any caller that can deliver bytes to a Netty channel pipeline containing `XmlDecoder` can send XML with a `DOCTYPE` declaration to an `AsyncXMLInputFactory` instantiated with no security configuration, leaving DTD and entity handling active depending on Aalto XML async parser behavior and creating conditional XML external entity risk. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00694,"percentile":0.4832,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-4qhr-g3c6-fcfx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.1.136.Final","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/releases/tag/netty-4.2.16.Final","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.66},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":[">= 4.2.0.Final, < 4.2.16.Final",">= 4.1.0.Final, < 4.1.136.Final"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-22T15:40:54.756346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-codec-xml","vulnerableRanges":[">=4.2.0.Final, <4.2.16.Final",">=4.1.0.Final, <4.1.136.Final"],"patched":["4.2.16.Final","4.1.136.Final"],"from":["GHSA-4qhr-g3c6-fcfx"],"provenance":"source"}],"summary":{"text":"The flaw is an XML External Entity (XXE) injection in Netty, a network application framework, arising when the XmlDecoder component's AsyncXMLInputFactory is created without any security configuration, leaving DTD and entity processing active in affected 4.1.x and 4.2.x releases. An attacker who can deliver bytes into a Netty channel pipeline containing XmlDecoder can send XML with a DOCTYPE declaration, without authentication or user interaction, and the resulting entity handling depends on the behaviour of the Aalto XML async parser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:28Z"},"euvd":{"id":"EUVD-2026-47579","exploited":false,"provenance":"source"}}