CVE-2026-56817
Critical · 9.8CVSS
9.8
EPSS
0.7%
Published
Jul 21, 2026
CISA due date
—
Cloudanix analysis
A network library used by many applications could let attackers read private information from servers by sending specially crafted messages.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- XXE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Unsecured XmlDecoder in Netty allows delivery of XML containing a DOCTYPE declaration to an AsyncXMLInputFactory, enabling DTD and entity expansion that can result in external entity resolution and conditional data disclosure or limited denial of service.
Why it matters to the business
Attackers may obtain sensitive internal data or cause service instability when applications accept untrusted network input through Netty-based XML processing, increasing risk of data exposure and operational disruption across dependent services.
How an attack unfolds
An attacker crafts an XML document containing a malicious DOCTYPE with external entities and sends it over the network to any Netty channel pipeline that contains XmlDecoder; the Aalto parser processes the input without security restrictions, resolving external references and leaking data or consuming resources.
How to fix it
Upgrade Netty to 4.1.136.Final or 4.2.16.Final; Red Hat users should apply the fix provided in codec-xml via RHSA-2026:54622. Disable or replace XmlDecoder usage where possible until patches are deployed.
How to confirm the fix worked
Confirm the running Netty version is at or above the fixed releases, review channel pipeline initialization for XmlDecoder instances, and test with known XXE probe payloads in a controlled environment to verify entity expansion is blocked.
Typical attack path
- Identify a reachable Netty endpoint that routes bytes into an XmlDecoder pipeline
- Craft XML payload containing a DOCTYPE declaration referencing external entities
- Transmit the payload to the target channel
- Observe responses or side effects that confirm entity expansion and data retrieval
How to detect it
Review application logs for XML parsing errors or unusual entity references, inspect inbound network traffic for XML containing DOCTYPE declarations, and examine any error or debug output from Aalto XML processing.
What your security team should do
- Prioritize upgrade of all Netty instances to the stated fixed versions within standard change windows
- Audit code and configuration for direct or indirect use of XmlDecoder and AsyncXMLInputFactory
- Implement network-level input validation or WAF rules to block suspicious XML DOCTYPE patterns until patches are applied
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-61586 Copernik XML Factory provides secure-by-default JAXP factory creation for Java. CWE-611
- CVE-2026-93570 Szafir and Szafir Weryfikująca are vulnerable to XML External Entity (XXE) injection. CWE-611
- CVE-2026-66089 In openEQUELLA before 2026.1, the SOAP API parses XML supplied in the stopEdit operation… CWE-611
- CVE-2026-66090 In openEQUELLA before 2026.1, the XML parser used for item metadata does not disable… CWE-611
- CVE-2026-118039 In Progress® Telerik® Document Processing Libraries prior to version 2026.3.1027, an XML… CWE-611
- CVE-2026-112198 XML External Entity (XXE) injection vulnerability in the SAFT import feature of the… CWE-611
- CVE-2026-54668 Kitodo.Production is a workflow management tool for mass digitization and is part of the… CWE-611
- CVE-2026-108357 PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. CWE-611