{"cve":"CVE-2026-5795","nvd":{"published":"2026-04-08T14:16:32.633","modified":"2026-09-14T13:18:42.263","status":"Modified","description":"In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable.\n\n\nUpon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals.\n\n\nA subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4},"cwes":["CWE-226","CWE-287"],"references":["https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://","https://gitlab.eclipse.org/security/cve-assignment/-/issues/92","https://access.redhat.com/errata/RHSA-2026:17668","https://access.redhat.com/errata/RHSA-2026:25089","https://access.redhat.com/errata/RHSA-2026:28573"],"products":["eclipse:jetty"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-5795","score":0.00529,"percentile":0.44779,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r7p8-xq5m-436c","url":"https://osv.dev/vulnerability/GHSA-r7p8-xq5m-436c","summary":"Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables","modified":"2026-04-14T00:40:59.663812Z","packages":[{"ecosystem":"Maven","name":"org.eclipse.jetty.ee11:jetty-ee11-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee11/jetty-ee11-jaspi","ranges":[">=12.1.0 <12.1.8"],"fixed":["12.1.8"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee10:jetty-ee10-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee10/jetty-ee10-jaspi","ranges":[">=12.1.0 <12.1.8"],"fixed":["12.1.8"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee9:jetty-ee9-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee9/jetty-ee9-jaspi","ranges":[">=12.1.0 <12.1.8"],"fixed":["12.1.8"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee8:jetty-ee8-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee8/jetty-ee8-jaspi","ranges":[">=12.1.0 <12.1.8"],"fixed":["12.1.8"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee11:jetty-ee11-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee11/jetty-ee11-jaspi","ranges":[">=12.0.0 <12.0.34"],"fixed":["12.0.34"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee10:jetty-ee10-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee10/jetty-ee10-jaspi","ranges":[">=12.0.0 <12.0.34"],"fixed":["12.0.34"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee9:jetty-ee9-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee9/jetty-ee9-jaspi","ranges":[">=12.0.0 <12.0.34"],"fixed":["12.0.34"]},{"ecosystem":"Maven","name":"org.eclipse.jetty.ee8:jetty-ee8-jaspi","purl":"pkg:maven/org.eclipse.jetty.ee8/jetty-ee8-jaspi","ranges":[">=12.0.0 <12.0.34"],"fixed":["12.0.34"]},{"ecosystem":"Maven","name":"org.eclipse.jetty:jetty-jaspi","purl":"pkg:maven/org.eclipse.jetty/jetty-jaspi","ranges":[">=11.0.0 <11.0.29"],"fixed":["11.0.29"]},{"ecosystem":"Maven","name":"org.eclipse.jetty:jetty-jaspi","purl":"pkg:maven/org.eclipse.jetty/jetty-jaspi","ranges":[">=10.0.0 <10.0.29"],"fixed":["10.0.29"]},{"ecosystem":"Maven","name":"org.eclipse.jetty:jetty-jaspi","purl":"pkg:maven/org.eclipse.jetty/jetty-jaspi","ranges":[">=9.4.0 <9.4.61"],"fixed":["9.4.61"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}