Sensitive Information in Resource Not Removed Before Reuse in Jetty - CVE-2026-5795

 

Sensitive Information in Resource Not Removed Before Reuse in Jetty - CVE-2026-5795

Published: April 11, 2026


Vulnerability identifier: #VU125816
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-5795
CWE-ID: CWE-226
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Eclipse
Affected software:
Jetty

Detailed vulnerability description

The vulnerability allows a remote attacker to escalate privileges.

The vulnerability exists due to sensitive information in resource not removed before reuse in JaspiAuthenticator.java when handling certain error or incomplete authentication flows. A remote attacker can trigger a request sequence that leaves residual authentication metadata in ThreadLocal storage to escalate privileges.

A subsequent unprivileged request processed by the same worker thread may inherit residual security roles if a mandatory CallerPrincipalCallback is missing or an exception occurs after a GroupPrincipalCallback has been persisted.


How to mitigate CVE-2026-5795

Install security update from vendor's website.

Sources