Intel

AIKIDO-2026-667552

netty-codec-mqtt is vulnerable to Improper Input Validation

Improper Input ValidationCVE-2026-76816 Published Yesterday

35

Low Risk

This Affects:

JAVAnetty-codec-mqtt
0.0.1 - 4.1.136.Final
Fixed in 4.1.137.Final
4.2.0.Final - 4.2.16.Final
Fixed in 4.2.17.Final
Are you affected? Scan for Free

TL;DR

The MQTT encoder writes topic names, client IDs, and other UTF-8 string fields without validating them against the MQTT 3.1.1/5.0 specification. Applications can therefore emit null bytes, wildcard characters (+, #), and control characters in these fields. This enables ACL bypass through null-byte injection, unintended topic publishing through wildcards, client-ID collisions, and log injection. The fix validates these string fields during encoding.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application encodes MQTT topic names or client IDs from externally influenced input.

Background info

netty-codec-mqtt is vulnerable to Improper Input Validation in versions 0.0.1 - 4.1.136.Final and 4.2.0.Final - 4.2.16.Final.

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform