External risk intelligence

Apache Juneau RestClient Credential Leakage on Redirect

CVE advisorySeverity: CRITICAL (CVSS 10.0)

CVE-2026-73116

The vulnerability resides in a client-side library, Apache Juneau RestClient, which is used to build applications that make HTTP requests. While these applications can be internet-facing, the library itself is a development component rather than a public-facing service, gateway, or appliance, making direct internet exposure of the vulnerable code path contingent upon the specific implementation within a custom application.

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a vulnerability in the Apache Juneau library where its RestClient might inadvertently share sensitive credentials when following redirects to different servers or protocols. This could expose information like authentication tokens or session cookies to unintended destinations. The main concern is to confirm if and where this library is used within our systems to assess potential exposure.

  • Credentials could be exposed during redirects.
  • Understand if and where this library is used.
  • Assess relevance and confirm system exposure.

Attack Path

How an attacker could exploit the issue

An attacker could exploit this by tricking a vulnerable application into redirecting an HTTP request to an attacker-controlled server. If the application uses Apache Juneau's `RestClient` without disabling automatic redirects, sensitive credential headers from the original request could be sent to the attacker's server. This could allow an attacker to gain unauthorized access to resources or sensitive information.

  • Entry condition: Application makes unauthenticated HTTP requests.
  • Trigger point: Application follows redirects to a malicious server.
  • Resulting risk: Credential leakage to unauthorized parties.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, servers that redirect HTTP requests could expose sensitive credential headers, such as Authorization, Cookie, Proxy-Authorization, and X-API-Key, to unintended destinations when the Apache Juneau RestClient follows redirects.

  • Sensitive HTTP headers could be exposed.
  • Server redirects could forward credential headers.
  • Unintended servers may receive credentials.

Operational Fix

Recommended remediation, mitigation, and detection steps

teams that develop or use applications leveraging the Apache Juneau RestClient are responsible for addressing this vulnerability. The first practical move is to identify all applications that use the affected library, confirm their exposure, and determine the business criticality of those applications to prioritize remediation efforts.

  • Application owners should own the issue.
  • Verify application use and exposure first.
  • Plan remediation based on risk and criticality.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Apache Juneau?

Apache Juneau is a Java toolkit used to build RESTful web services and clients. Its RestClient component is specifically designed to help developers create applications that interact with other web services, simplifying the process of sending requests and managing data exchange in networked environments.

What does CVE-2026-73116 mean for security?

This vulnerability is an instance of Insufficiently Protected Credentials (CWE-522). It occurs when the Apache Juneau RestClient automatically carries sensitive headers, like authentication tokens or cookies, over to a new server during an HTTP redirect. Essentially, the library may accidentally leak credentials to an untrusted or malicious destination because it treats the redirected location as secure as the original one.

How is this vulnerability triggered?

The trigger occurs when an application using the RestClient performs an HTTP request that results in a redirect. The bug is activated if the library follows that redirect to a different host, port, or protocol while still attached to the original credential headers. Requests that do not involve redirects, or those where developers have manually disabled automatic redirect handling, do not trigger this specific credential leakage path.

Why does Halo Surface Signal categorize this as unlikely?

Halo Surface Signal notes that while the vulnerability is critical, it exists within a client-side development library rather than a standalone, public-facing service or appliance. Whether your systems are at risk depends entirely on how your internal developers implemented this library within custom applications, meaning exposure is not automatic and requires specific code patterns to be present.

What should I do if my applications use this library?

Begin by auditing your software inventory to locate where the Apache Juneau RestClient is implemented. Once identified, evaluate if your application logic relies on automatic redirects. If it does, you should upgrade to version 9.2.1 or, if you manage the HttpClient configuration directly, implement custom logic to strip sensitive headers whenever a cross-origin redirect occurs.

References