# CVE-2026-56817: Netty: XML External Entity (XXE) injection via unconfigured XML factory when DTD and entity processing are enabled

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-07-21T22:06:56.481Z
- Modified: 2026-09-10T03:50:12.356Z
- Also known as: GHSA-4qhr-g3c6-fcfx
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- netty netty: >= 4.2.0.Final, < 4.2.16.Final; >= 4.1.0.Final, < 4.1.136.Final; from 4.1.0 before 4.1.136; from 4.2.0 before 4.2.16
- io.netty:netty-codec-xml (Maven): from 4.2.0.Final before 4.2.16.Final; from 4.1.0.Final before 4.1.136.Final

## Every score

- GitHub_M: CVSS:4.0 8.3 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-4qhr-g3c6-fcfx> (vendor-advisory, web)
- <https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b> (patch, web)
- <https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6> (patch, web)
- <https://github.com/netty/netty/releases/tag/netty-4.1.136.Final> (release-notes, web)
- <https://github.com/netty/netty/releases/tag/netty-4.2.16.Final> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56817> (advisory)
- <https://github.com/netty/netty> (package)

## Sources

- CVE List: [CVE-2026-56817](https://www.cve.org/CVERecord?id=CVE-2026-56817), CVE Terms of Use, modified 2026-07-22
- GitHub Advisory Database: [GHSA-4qhr-g3c6-fcfx](https://github.com/advisories/GHSA-4qhr-g3c6-fcfx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56817](https://nvd.nist.gov/vuln/detail/CVE-2026-56817), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2026-56817 · Whole record: https://cve.day/CVE-2026-56817.json · Rebuilt by cve.day 2026-11-25T22:59:29.789Z
