# CVE-2026-5795: Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables

- Severity: High 7.4 (CVSS:3.1, scored by eclipse) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-04-08T13:32:28.935Z
- Modified: 2026-09-14T13:18:42.263Z
- Also known as: GHSA-r7p8-xq5m-436c
- Weaknesses: CWE-226, CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: eclipse

## Description

In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable.


Upon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals.


A subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.

(As written by CVE List.)

## Affected

- Eclipse Foundation Eclipse Jetty: from 12.1.0 up to 12.1.7; from 12.0.0 up to 12.0.33; from 11.0.0 up to 11.0.28; from 10.0.0 up to 10.0.28; from 9.4.0 up to 9.4.60
- jetty: no versions given (not affected: from ee10-servlet before *; from ee10-webapp before *; from ee10-annotations before *; from ee10-plus before *; from ee10-servlets before *)
- jetty-ee10: no versions given (not affected: from apache-jsp before *)
- offline-knowledge-portal/rhokp-rhel9: no versions given (not affected: from 1782239370 before *)
- jetty-ee10-servlet: no versions given
- jetty-ee10-annotations: no versions given
- jetty-ee10-apache-jsp: no versions given
- jetty-ee10-cdi: no versions given
- jetty-ee10-fcgi-proxy: no versions given
- jetty-ee10-glassfish-jstl: no versions given
- jetty-ee10-home: no versions given
- jetty-ee10-jaspi: no versions given
- jetty-ee10-jndi: no versions given
- jetty-ee10-jspc-maven-plugin: no versions given
- jetty-ee10-maven-plugin: no versions given
- jetty-ee10-plus: no versions given
- jetty-ee10-proxy: no versions given
- jetty-ee10-quickstart: no versions given
- jetty-ee10-servlets: no versions given
- jetty-ee10-webapp: no versions given
- devspaces/openvsx-rhel9: no versions given
- devspaces/pluginregistry-rhel9: no versions given
- org.eclipse.jetty.ee11:jetty-ee11-jaspi (Maven): from 12.1.0 before 12.1.8; from 12.0.0 before 12.0.34
- org.eclipse.jetty.ee10:jetty-ee10-jaspi (Maven): from 12.1.0 before 12.1.8; from 12.0.0 before 12.0.34
- org.eclipse.jetty.ee9:jetty-ee9-jaspi (Maven): from 12.1.0 before 12.1.8; from 12.0.0 before 12.0.34
- org.eclipse.jetty.ee8:jetty-ee8-jaspi (Maven): from 12.1.0 before 12.1.8; from 12.0.0 before 12.0.34
- org.eclipse.jetty:jetty-jaspi (Maven): from 11.0.0 before 11.0.29; from 10.0.0 before 10.0.29; from 9.4.0 before 9.4.61
- eclipse jetty: from 9.4.0 up to 9.4.58; from 10.0.0 up to 10.0.26; from 11.0.0 up to 11.0.26; from 12.0.0 before 12.0.34; from 12.1.0 before 12.1.8

## Every score

- eclipse: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://> (broken-link)
- <https://gitlab.eclipse.org/security/cve-assignment/-/issues/92> (broken-link, web)
- <https://access.redhat.com/security/cve/CVE-2026-5795> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2456519> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5795.json>
- <https://access.redhat.com/errata/RHSA-2026:25089> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28573> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:17668> (vendor-advisory)
- <https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5795> (advisory)
- <https://github.com/jetty/jetty.project> (package)
- <https://github.com/user-attachments/files/26118760/JaspiAuthenticator_Security_Report.pdf> (web)

## Sources

- CVE List: [CVE-2026-5795](https://www.cve.org/CVERecord?id=CVE-2026-5795), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-r7p8-xq5m-436c](https://github.com/advisories/GHSA-r7p8-xq5m-436c), CC-BY-4.0, modified 2026-04-14
- NVD: [CVE-2026-5795](https://nvd.nist.gov/vuln/detail/CVE-2026-5795), Public domain, modified 2026-09-14

---

Page: https://cve.day/CVE-2026-5795 · Whole record: https://cve.day/CVE-2026-5795.json · Rebuilt by cve.day 2026-11-25T22:59:18.278Z
