{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "9.4.0"
              },
              {
                "last_affected": "9.4.58"
              },
              {
                "introduced": "10.0.0"
              },
              {
                "last_affected": "10.0.26"
              },
              {
                "introduced": "11.0.0"
              },
              {
                "last_affected": "11.0.26"
              },
              {
                "introduced": "12.0.0"
              },
              {
                "fixed": "12.0.34"
              },
              {
                "introduced": "12.1.0"
              },
              {
                "fixed": "12.1.8"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "bf9d17540c7ae4c91be30c045a9485aa2030d3e5"
            },
            {
              "last_affected": "8f1440587e9e4ae7db3d74cf205643f3d707148d"
            },
            {
              "introduced": "b9645a17373e4e9b7f30b6c0a07defcea2cb660b"
            },
            {
              "last_affected": "65a55c55a68c56d5f2e8232164439bd6e76e53d1"
            },
            {
              "introduced": "432f896d7a4555fcc81f38108757ea0aca8788e6"
            },
            {
              "last_affected": "7559873b6e46eea7c2c6da2b58327ea2ecf941f4"
            },
            {
              "introduced": "28100e8da711e44c0722ed10bd413ae862497539"
            },
            {
              "fixed": "57e7adb250592bd15f573e7820be9b64632c6637"
            },
            {
              "introduced": "c8372b65bd15404de1444d68902c0455a3a69b64"
            },
            {
              "fixed": "c9cdc9aaa434a3665b8a53b4d1cc3684992da649"
            }
          ],
          "repo": "https://github.com/jetty/jetty.project",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "eclipse",
    "cwe_ids": [
      "CWE-226",
      "CWE-287"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5795.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "11.0.0"
          },
          {
            "last_affected": "11.0.28"
          },
          {
            "introduced": "10.0.0"
          },
          {
            "last_affected": "10.0.28"
          },
          {
            "introduced": "9.4.0"
          },
          {
            "last_affected": "9.4.60"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-5795",
  "modified": "2026-07-22T05:30:10.124678981Z",
  "published": "2026-04-08T13:32:28.935Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5795.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:17668"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:25089"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:28573"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-5795"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5795.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436chttps://"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5795"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2456519"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.eclipse.org/security/cve-assignment/-/issues/92"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/jetty/jetty.project"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}