CVE-2026-59410: InetAddressFilter is not applied to redirect targets when the JDK HttpClient is used
When an InetAddressFilter is used with the JDK HttpClient factory filtering only applies to the initial request. Redirect targets are never filtered and one request to an attacker-supplied URL that answers 302 to an internal address returns the internal response body to the caller.
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications that use an InetAddressFilter with the JDK HttpClient factory and make requests to attacker-supplied URLs are exposed. The issue is relevant where the filter is intended to prevent access to internal addresses.
What does an attacker need to exploit it?
An attacker needs to cause the application to make a request to an attacker-controlled URL that responds with a 302 redirect to an internal address. No privileges or user interaction are required, but exploitation has high attack complexity.
What is the impact of a successful exploit?
The application can return the response body from the redirected internal target to the caller. The described impact is disclosure of internal response data; no integrity or availability impact is specified.