CRLF injection in Netty - CVE-2026-42586
Published: May 5, 2026
Netty
Netty project
Description
The vulnerability allows a remote attacker to inject Redis commands or poison Redis responses.
The vulnerability exists due to improper neutralization of CRLF sequences in io.netty.handler.codec.redis.RedisEncoder when encoding user-controlled Redis message content. A remote attacker can supply crafted content containing CRLF characters to inject Redis commands or poison Redis responses.
The issue affects inline command mode and simple string or error response types, while RESP array format with binary-safe length-prefixed encoding is not affected.