Netty: XML External Entity (XXE) injection via unconfigured XML factory when DTD and entity processing are enabled
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| netty | netty | 4.2.0.Final to before 4.2.16.Final; 4.1.0.Final to before 4.1.136.Final | 4.2.16.Final, 4.1.136.Final | Patch available | CNA |
| — | io.netty:netty-codec-xml (Maven) | 4.2.0.Final to before 4.2.16.Final | 4.2.16.Final | Patch available | GHSA-4qhr-g3c6-fcfx |
| — | io.netty:netty-codec-xml (Maven) | 4.1.0.Final to before 4.1.136.Final | 4.1.136.Final | Patch available | GHSA-4qhr-g3c6-fcfx |
- netty Vendornetty Affected 4.2.0.Final to before 4.2.16.Final; 4.1.0.Final to before 4.1.136.Final Fixed in 4.2.16.Final, 4.1.136.Final Patch available CNA
- io.netty:netty-codec-xml (Maven) Vendor— Affected 4.2.0.Final to before 4.2.16.Final Fixed in 4.2.16.Final Patch available GHSA-4qhr-g3c6-fcfx
- io.netty:netty-codec-xml (Maven) Vendor— Affected 4.1.0.Final to before 4.1.136.Final Fixed in 4.1.136.Final Patch available GHSA-4qhr-g3c6-fcfx
Remediation
- Fix · CNA netty (netty) Fixed in 4.2.16.Final, 4.1.136.Final
- Fix · GHSA-4qhr-g3c6-fcfx io.netty:netty-codec-xml (Maven) Fixed in 4.2.16.Final Advisory →
- Fix · GHSA-4qhr-g3c6-fcfx io.netty:netty-codec-xml (Maven) Fixed in 4.1.136.Final Advisory →
Red Hat 2 advisories
- RHSA-2026:69296 Released 2026-09-21 · Red Hat rating ImportantRed Hat Data Grid 8.6.3 security update
- Red Hat Data Grid 8.6.3
- RHSA-2026:54622 Released 2026-08-13 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.18.3 for Spring Boot release.
- Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat Data Grid 8.6.3 | Fixed | RHSA-2026:69296 |
| Red Hat build of Apache Camel 4.18.3 for Spring Boot 3.5.16 | Fixed | RHSA-2026:54622 |
Not affected: 1 product
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56817
- 2026-10-03 Alias added: GHSA-4qhr-g3c6-fcfx
References
Patch 2
Advisory 2
More Netty vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-30861 Netty: HTTP/1.0 TE+CL Coexistence Bypasses Smuggling Sanitization CVSS 3.1CRITICAL 9.8
- TI-2026-30864 Netty: HttpClientCodec response desynchronization CVSS 3.1CRITICAL 9.1
- TI-2026-30859 Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder) CVSS 3.1CRITICAL 9.1
- TI-2026-40973 Netty: Missing CertificateID Validation in OCSP Response Allows Replay Attacks CVSS 3.1CRITICAL 9.1
- TI-2026-40972 Uncontrolled resource consumption in netty CVSS 3.1HIGH 7.5
Sources
- CVE-2026-56817 · CVE Program
- CVE-2026-56817 · NVD
- FIRST EPSS
- GHSA-4qhr-g3c6-fcfx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-56817 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences