{"id":"CVE-2026-5795","title":"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…","summary":"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…","severity":"high","cvss":7.4,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-226","CWE-287"],"vendor":"eclipse","product":"jetty","affected":["jetty >= 9.4.0, <= 9.4.58","jetty >= 10.0.0, <= 10.0.26","jetty >= 11.0.0, <= 11.0.26","jetty >= 12.0.0, < 12.0.34","jetty >= 12.1.0, < 12.1.8"],"patched":["jetty 12.1.8"],"published":"2026-04-08","updated":"2026-09-14","sourceUpdated":"2026-09-14T13:18:42.263","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-5795","references":[{"url":"https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://","label":"emo@eclipse.org"},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/issues/92","label":"emo@eclipse.org"},{"url":"https://access.redhat.com/errata/RHSA-2026:17668","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/errata/RHSA-2026:25089","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/errata/RHSA-2026:28573","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/security/cve/CVE-2026-5795","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2456519","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5795.json","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5795"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5795"},{"url":"https://github.com/advisories/GHSA-gc59-r5jq-98qw"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-08T00:00:00+00:00"},"epss":0.00529,"epssPercentile":0.43522,"ingestedAt":"2026-07-02T12:34:40.498Z","slug":"CVE-2026-5795","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `jetty >= 9.4.0, <= 9.4.58`\n- `jetty >= 10.0.0, <= 10.0.26`\n- `jetty >= 11.0.0, <= 11.0.26`\n- `jetty >= 12.0.0, < 12.0.34`\n- `jetty >= 12.1.0, < 12.1.8`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `jetty 12.1.8`\n\n## Vendor advisories\n\n- **RHSA-2026:25089** · Red Hat · fixed in: HawtIO HawtIO 4.4.0 · released 2026-06-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:25089)\n- **RHSA-2026:28573** · Red Hat · fixed in: Red Hat Offline Knowledge Portal 1.2.4 · released 2026-06-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:28573)\n- **RHSA-2026:17668** · Red Hat · fixed in: Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 · released 2026-05-14 · [advisory](https://access.redhat.com/errata/RHSA-2026:17668)\n- **Red Hat VEX** · Important · affected: streams for Apache Kafka 3 · no fix planned: streams for Apache Kafka 3 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5795.json)","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":40.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}