Cloudanix VulnDB

CVE-2026-56817

Critical · 9.8

CVSS

9.8

EPSS

0.7%

Published

Jul 21, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Identify a reachable Netty endpoint that routes bytes into an XmlDecoder pipeline
  2. Craft XML payload containing a DOCTYPE declaration referencing external entities
  3. Transmit the payload to the target channel
  4. 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