{"id":"UBUNTU-CVE-2026-5795","details":"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.","modified":"2026-05-20T16:13:37.923894423Z","published":"2026-04-08T14:16:00Z","upstream":["CVE-2026-5795"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-5795"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-5795"},{"type":"REPORT","url":"https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://"},{"type":"REPORT","url":"https://gitlab.eclipse.org/security/cve-assignment/-/issues/92"}],"affected":[{"package":{"name":"jetty","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/jetty?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.26-1ubuntu1","6.1.26-1ubuntu1.1","6.1.26-1ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.1.26-1ubuntu1.2","binary_name":"jetty"},{"binary_version":"6.1.26-1ubuntu1.2","binary_name":"libjetty-extra"},{"binary_version":"6.1.26-1ubuntu1.2","binary_name":"libjetty-extra-java"},{"binary_version":"6.1.26-1ubuntu1.2","binary_name":"libjetty-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/jetty?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.26-5","6.1.26-5ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.1.26-5ubuntu0.1","binary_name":"libjetty-extra"},{"binary_version":"6.1.26-5ubuntu0.1","binary_name":"libjetty-extra-java"},{"binary_version":"6.1.26-5ubuntu0.1","binary_name":"libjetty-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.14-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.2.14-1","binary_name":"jetty9"},{"binary_version":"9.2.14-1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.2.14-1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.22-2","9.2.22-3","9.2.23-1","9.4.15-1~18.04.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.4.15-1~18.04.1ubuntu1","binary_name":"jetty9"},{"binary_version":"9.4.15-1~18.04.1ubuntu1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.4.15-1~18.04.1ubuntu1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.18-2build2","9.4.26-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.4.26-1","binary_name":"jetty9"},{"binary_version":"9.4.26-1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.4.26-1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.39-3","9.4.44-2","9.4.44-3","9.4.44-4","9.4.45-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.4.45-1","binary_name":"jetty9"},{"binary_version":"9.4.45-1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.4.45-1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.51-2","9.4.53-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.4.53-1","binary_name":"jetty9"},{"binary_version":"9.4.53-1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.4.53-1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.56-1","9.4.57-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.4.57-1","binary_name":"jetty9"},{"binary_version":"9.4.57-1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.4.57-1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}},{"package":{"name":"jetty9","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/jetty9?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.57-1","9.4.57-1.1","9.4.58-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.4.58-1","binary_name":"jetty9"},{"binary_version":"9.4.58-1","binary_name":"libjetty9-extra-java"},{"binary_version":"9.4.58-1","binary_name":"libjetty9-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5795.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}