What’s Vulnerable › Vulnerabilities

CVE-2026-73116: Apache Juneau: REST client forwards credentials to a different origin when following HTTP redirects

Description

Insufficiently Protected Credentials vulnerability in Apache Juneau. The Apache Juneau RestClient followed HTTP redirects while keeping credential headers from the original request, so a server that redirected the client to a different host or port, or from HTTPS to HTTP, could receive headers such as Authorization, Cookie, Proxy-Authorization and X-API-Key. This issue affects Apache Juneau: through 9.2.0. Users are recommended to upgrade to version 9.2.1, which fixes the issue. The fix applies to HTTP clients created by the RestClient builder; applications that supply their own HttpClient must disable automatic redirects or strip credential headers on cross-origin redirects themselves.

Summary

Apache Juneau's RestClient followed HTTP redirects while retaining the original request's credential headers, so a redirect to a different host or port, or from HTTPS to HTTP, could leak Authorization, Cookie, Proxy-Authorization and X-API-Key headers to another origin. This insufficiently protected credentials flaw is rated CVSS 10 (critical) and affects Apache Juneau through 9.2.0. It is not listed in CISA KEV and no active exploitation is reported. Upgrade to 9.2.1, which fixes clients created by the RestClient builder; applications supplying their own HttpClient must disable automatic redirects or strip credential headers on cross-origin redirects themselves.

كان RestClient في Apache Juneau يتبع عمليات إعادة التوجيه عبر HTTP مع الاحتفاظ برؤوس بيانات الاعتماد الخاصة بالطلب الأصلي، لذا فإن إعادة التوجيه إلى مضيف أو منفذ مختلف، أو من HTTPS إلى HTTP، قد تسرّب رؤوس Authorization وCookie وProxy-Authorization وX-API-Key إلى أصل آخر. هذه الثغرة المتعلقة بعدم كفاية حماية بيانات الاعتماد مصنفة CVSS 10 (حرجة) وتؤثر في Apache Juneau حتى الإصدار 9.2.0. وهي غير مدرجة في CISA KEV ولم يُبلَّغ عن استغلال نشط لها. يُنصح بالترقية إلى الإصدار 9.2.1 الذي يصلح العملاء الذين ينشئهم RestClient builder؛ أما التطبيقات التي توفّر HttpClient خاصًا بها فيجب عليها تعطيل إعادة التوجيه التلقائي أو إزالة رؤوس بيانات الاعتماد عند إعادة التوجيه بين أصول مختلفة.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Juneau 9.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-73116 or the next vulnerability affects your stack