Description
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.
Published: 2026-07-21
Score: 8.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Netty, a Java network application framework, can be abused when it processes XML messages with the XmlDecoder handler and an AsyncXMLInputFactory that has not been explicitly secured. The factory defaults permit DTD and external entity handling, allowing an attacker to embed XML with a DOCTYPE declaration that resolves to external entities. This flaw, identified as CWE‑611, can lead to sensitive file disclosure from the server environment or even execution of arbitrary code if the external entity triggers such behavior. The vulnerability is manifest in Netty versions 4.1.0.Final through 4.1.135.Final and 4.2.0.Final through 4.2.15.Final, all of which contain the unguarded XmlDecoder.

Affected Systems

The vendor netty:netty publishes the affected library. Any application that includes Netty in these version ranges and that routes inbound XML data through the XmlDecoder in its channel pipeline is susceptible. Both the 4.1.x line up to 4.1.135 and the 4.2.x line up to 4.2.15 are affected; the issue is resolved in 4.1.136.Final and 4.2.16.Final.

Risk and Exploitability

The CVSS score of 8.3 denotes high severity, while the EPSS score of less than 1% suggests that active exploitation is currently rare. The vulnerability is not listed in CISA’s KEV catalog. To trigger the flaw an attacker must communicate with a service that accepts XML over a network connection, a typical remote delivery vector. Given the low exploitation probability but high potential impact, the recommendation is to remediate promptly by applying the vendor’s fixed releases.

Generated by OpenCVE AI on August 4, 2026 at 00:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Netty to at least version 4.1.136.Final or 4.2.16.Final
  • Remove or replace the XmlDecoder handler in any channel pipeline that processes user‑supplied XML
  • If an upgrade is not feasible, configure the AsyncXMLInputFactory to disable DTD and entity processing before creating the parser

Generated by OpenCVE AI on August 4, 2026 at 00:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4qhr-g3c6-fcfx Netty XML: Injection / Risky Sink — unconfigured XML factory with active DTD and entity handling
History

Tue, 28 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Important


Wed, 22 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Netty
Netty netty
Vendors & Products Netty
Netty netty

Tue, 21 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Netty: XML External Entity (XXE) injection via unconfigured XML factory when DTD and entity processing are enabled
Weaknesses CWE-611
References
Metrics cvssV4_0

{'score': 8.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T15:42:09.445Z

Reserved: 2026-06-23T14:55:09.116Z

Link: CVE-2026-56817

cve-icon Vulnrichment

Updated: 2026-07-22T15:42:04.094Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-21T22:06:56Z

Links: CVE-2026-56817 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:30:18Z

Weaknesses
  • CWE-611

    Improper Restriction of XML External Entity Reference