CVE-2026-89313 JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-89313?
CVE-2026-89313 is a medium-severity vulnerability in Eclipse KeyPont - GOSE, published on 23 Oct 2026.
Official description
`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".
Weakness: CWE-706
Which versions are affected by CVE-2026-89313?
How do I fix CVE-2026-89313?
No fix has been published for CVE-2026-89313 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-89313 being exploited?
There is no known exploitation of CVE-2026-89313 in the wild and no public exploit code.
Sources
Also known as GHSA-v7r8-g6h9-99vv.