{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.7.5"
                  },
                  {
                    "last_affected": "0.13.0-rc1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.0.0-rc4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "7a7f13d47d4d87eea19de35141fdeee130cae350"
            },
            {
              "last_affected": "bc195a14438f6607e266d8a12e529260272b060b"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "692c25c38e72e91a146c00598017e1a869e75ef6"
            }
          ],
          "repo": "https://github.com/eclipse-keypont/gose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v7r8-g6h9-99vv"
  ],
  "database_specific": {
    "cna_assigner": "eclipse",
    "cwe_ids": [
      "CWE-706"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89313.json"
  },
  "details": "`JwksTrustStore.Get` assigned each parsed key to the function's **named return value** while refreshing the JWKS cache. When the requested `kid` was not present, the trailing naked `return` handed the caller the last key in the JWKS document together with a `nil` error — a confidently wrong answer instead of \"not found\".",
  "id": "CVE-2026-89313",
  "modified": "2026-11-04T02:30:23.771033713Z",
  "published": "2026-10-23T08:40:55.499Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89313.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/eclipse-keypont/gose/security/advisories/GHSA-v7r8-g6h9-99vv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89313"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil"
}