Critical · 10.0 Critical vulnerabilities CVE-2026-73116
Apache Juneau RestClient Leaks Credentials on HTTP Redirects (CVE-2026-73116)
Apache Juneau's RestClient forwarded sensitive credential headers like Authorization and Cookie when following HTTP redirects, even across hosts, ports, or from HTTPS to HTTP, exposing credentials to untrusted servers.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been disclosed in Apache Juneau affecting how its RestClient component handles HTTP redirects. The issue, tracked as CVE-2026-73116, allows credential-bearing headers to be forwarded to servers that the client did not originally intend to trust, including servers on different hosts, different ports, or reachable only over unencrypted HTTP. This briefing explains what happened, who is affected, and what action is recommended.
What Happened
Apache Juneau's RestClient component followed HTTP redirects issued by a server while continuing to send credential-related headers from the original request. This behavior meant that if a server responded with a redirect to a different host, a different port, or downgraded the connection from HTTPS to HTTP, the client would still transmit headers such as Authorization, Cookie, Proxy-Authorization, and X-API-Key to that new destination.
Technical Cause
The vulnerability is classified under CWE-522, Insufficiently Protected Credentials. The RestClient builder in Apache Juneau did not strip or withhold credential headers when the HTTP client followed a redirect to a different origin (host or port) or when the scheme changed from HTTPS to HTTP. This allowed sensitive authentication data to be sent to destinations outside the original trust boundary of the request.
Why It Matters
If an attacker can influence or control a redirect target reached by a Juneau-based RestClient (for example, by compromising or operating a server the client communicates with), credential headers such as Authorization tokens, session cookies, proxy credentials, or API keys could be exposed to that attacker-controlled destination. This could lead to credential theft and further compromise of the authenticated resource.
Who Is Affected
Applications and services that use the Apache Juneau RestClient to make outbound HTTP requests, through version 9.2.0, are affected. This includes any client built using the standard RestClient builder provided by the library.
Affected Versions
Apache Juneau versions through 9.2.0 are affected by this issue.
Fixes and Mitigation
The fact package references version 9.2.1 as resolving this issue for HTTP clients created through the RestClient builder. For applications that supply their own custom HttpClient instance rather than using the builder, the fix does not automatically apply; such applications must independently disable automatic redirect following or strip credential headers when a redirect crosses origins.
Recommended Action
Users of Apache Juneau's RestClient builder should upgrade from version 9.2.0 or earlier to version 9.2.1. Developers who construct their own HttpClient instances for use with Juneau should review their redirect-handling logic and ensure that credential headers (such as Authorization, Cookie, Proxy-Authorization, and X-API-Key) are not forwarded across different hosts, ports, or protocol downgrades from HTTPS to HTTP.
PatchBriefing score
10.0 / 10 · Critical
Official CVSS: 10.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS 0.0041 (26 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
The fact package references version 9.2.1 as resolving this issue for HTTP clients created through the RestClient builder. For applications that supply their own custom HttpClient instance rather than using the builder, the fix does not automatically apply; such applications must independently disable automatic redirect following or strip credential headers when a redirect crosses origins.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated