CVE-2026-56817
Netty: XML External Entity (XXE) injection via unconfigured XML factory when DTD and entity processing are enabled
Check your servers for CVE-2026-56817
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-56817 affects netty, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity none, availability low: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Jul 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-611 Improper Restriction of XML External Entity Reference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| netty |
affected >= 4.2.0.Final, < 4.2.16.Final affected >= 4.1.0.Final, < 4.1.136.Final
|
Is my server affected?
Find the installed version of netty and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i netty
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-56817 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-56817RHEL, Rocky, Alma, Fedora
rpm -q netty
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-56817Alpine
apk list --installed | grep -i nettyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-56817
trivy image --scanners vuln IMAGE | grep CVE-2026-56817
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b github.com
- https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6 github.com
- https://github.com/netty/netty/releases/tag/netty-4.1.136.Final github.com
- https://github.com/netty/netty/releases/tag/netty-4.2.16.Final github.com
Source: the record CVE-2026-56817 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse