CVE-2026-47845
Patch Available.
This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.
Overview
Reactor Netty is the reactive networking layer of Project Reactor: it wraps Netty in a Reactive Streams API and supplies the non-blocking HTTP client and server that Spring WebFlux runs on. The reactor-netty-http module carries the Reactor Netty HTTP client and server.
An authorization bypass vulnerability (CVE-2026-47845) has been identified in the Reactor Netty HTTP server when HAProxy Protocol is enabled, which allows attackers to have their requests attributed to the proxy's address instead of their own client address. Applications that rely on the remote address for IP-based access control, rate limiting or auditing can then make decisions on the wrong address.
Per OWASP: Access control enforces policy such that users cannot act outside of their intended permissions. Failures typically lead to unauthorized information disclosure, modification, or destruction of all data or performing a business function outside the user's limits.
This issue affects multiple versions of Reactor Netty.
Details
Module Info
- Product: Reactor Netty
- Affected packages:
io.projectreactor.netty:reactor-netty-http - Affected versions: <=1.0.52, >=1.1.0 <=1.2.18, >=1.3.0 <=1.3.6
- GitHub repository: https://github.com/reactor/reactor-netty
- Published packages: https://central.sonatype.com/artifact/io.projectreactor.netty/reactor-netty-http
- Package manager: Maven
- Fixed in:
- OSS Reactor Netty 1.3.7
- NES for Project Reactor v1.0.51, v1.2.20
Vulnerability Info
This Medium-severity vulnerability is found in the io.projectreactor.netty:reactor-netty-http package in multiple versions of Reactor Netty. The issue only arises when the server is configured to use HAProxy Protocol.
When a PROXY protocol header arrives, HAProxyMessageReader stores the client's source address in the REMOTE_ADDRESS_FROM_PROXY_PROTOCOL attribute of the connection channel. The server handlers later look that address up through resolveRemoteAddressFromProxyProtocol, which reads the attribute with getAndSet(null):
static SocketAddress resolveRemoteAddressFromProxyProtocol(Channel channel) {
if (HAProxyMessageReader.isProxyProtocolAvailable()) {
return channel.attr(REMOTE_ADDRESS_FROM_PROXY_PROTOCOL).getAndSet(null);
}
return null;
}
The first lookup on a connection therefore clears the stored address. Every handler that resolves it afterwards gets null and falls back to the channel's own remote address, which is the TCP peer, the proxy:
SocketAddress proxyAddress = HAProxyMessageReader.resolveRemoteAddressFromProxyProtocol(ctx.channel().parent());
remoteAddress = proxyAddress != null ? proxyAddress : ctx.channel().parent().remoteAddress();
With HTTP/2, each stream creates its own Http2StreamBridgeServerHandler, which resolves the address on the parent connection channel. At most the first stream sees the client address; every later stream a client opens on the same connection reports the proxy's address as the remote address. Any IP-based check in the application, such as an allowlist that trusts the proxy or internal addresses, a blocklist or a per-client rate limit, is then evaluated against the proxy's address instead of the real client.
Mitigation
Only recent versions of Reactor Netty are community-supported. Older release lines are End-of-Life and will not receive community updates addressing this issue. For more information, see here.
Users of the affected components should apply one of the following mitigations:
- Upgrade Reactor Netty to a currently supported release containing the fix.
- Leverage a commercial support partner like HeroDevs for post-EOL security support.
Credits
- Sam Lightfoot (finder)
