Skip to main content
← All vulnerabilities
CVE-2026-59919GHSA-WH89-7897-X99H

Netty: HAProxy V1 Protocol CRLF Injection via AF_UNIX Address

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.136.Final, 4.2.16.Final
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Netty is an asynchronous, event-driven network application framework. In versions prior to 4.1.136.Final and 4.2.16.Final, Netty's HAProxy encoder ( HAProxyMessageEncoder ) writes AF_UNIX source and destination socket addresses into the HAProxy V1 text protocol without validating them for CRLF characters, so an attacker who controls an AF_UNIX address can inject  \r\n  sequences and split the single PROXY header into multiple lines. This is possible because the V1 protocol uses CRLF as its line terminator and, unlike IPv4/IPv6 addresses whose format checks implicitly reject CRLF, AF_UNIX addresses are only validated for length (up to 108 bytes), allowing a forged second PROXY header line that spoofs the client source/destination IP to a downstream server or load balancer. The issue is fixed in versions 4.1.136.Final and 4.2.16.Final.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • netty netty

    fixed in 4.1.136.Final; From 4.2.0.Final · fixed in 4.2.16.Final

  • io.netty:netty-codec-haproxyMaven

    From 4.2.0.Final · fixed in 4.2.16.Final

  • io.netty:netty-codec-haproxyMaven

    fixed in 4.1.136.Final

References 1

GitHub · netty/netty