# CVE-2026-89313: JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-23 · Modified: 2026-11-02
- Record: https://cvemate.com/vulnerability/CVE-2026-89313 · JSON: https://cvemate.com/vulnerability/CVE-2026-89313/json

## Description

```text
`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".
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.349%, percentile 30.536%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- eclipse foundation eclipse keypont - gose: ≥ 0.7.5, ≤ 0.13.0-rc1 \| \< 1.0.0-rc4

## References

- <https://github.com/eclipse-keypont/gose/security/advisories/GHSA-v7r8-g6h9-99vv>

---

Data as of 2026-12-05T03:57:07.230Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
