CVE-2026-89313
`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".
- Score
- CVSS 4.0 6.3 Medium
- Status
- Deferred - emo@eclipse.org
- Published
- 2026-10-23
- Last modified
- 2026-10-23
- Weaknesses
- CWE-706
Affected products
References
- https://github.com/eclipse-keypont/gose/security/advisories/GHSA-v7r8-g6h9-99vv