Intel

AIKIDO-2026-389134

netty-codec-xml is vulnerable to XML External Entity (XXE) Attack

CVE-2026-56817Published Jul 23, 2026
July 23, 2026

83

CVE Score

High

XML External Entity (XXE) Attack

Are you affected? Scan for Free

TL;DR

Affected versions of this package instantiate the Aalto XML parser used by XmlDecoder with no security configuration, leaving DTD support and entity reference handling enabled. Any remote caller that can deliver bytes to a Netty channel pipeline containing XmlDecoder can submit XML with a DOCTYPE declaration; depending on Aalto's async parser behavior, external entities may be resolved, enabling XXE-style attacks such as local file disclosure, server-side request forgery, or denial of service. Patched releases disable DTD support and entity reference replacement in the shared parser factory.

How do I fix this?

Upgrade the io.netty:netty-codec-xml library to the patch version.

Who does this affect?

You are affected if you are using a version within the vulnerable range and your application exposes a Netty channel pipeline that includes XmlDecoder to process untrusted XML input.

Versions

4.1.0.Final - 4.1.135.Final

Fixed in 4.1.136.Final

4.2.0.Final - 4.2.15.Final

Fixed in 4.2.16.Final

Background info

netty-codec-xml is vulnerable to XML External Entity (XXE) Attack in versions 4.1.0.Final - 4.1.135.Final and 4.2.0.Final - 4.2.15.Final.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea