Eclipse JwksTrustStore Missing Key Handling Exposes Wrong JWKS Key
CVE-2026-89313 Published on October 23, 2026
JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil
`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".
Vulnerability Analysis
CVE-2026-89313 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Use of Incorrectly-Resolved Name or Reference
The software uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.
Affected Versions
Eclipse Foundation Eclipse KeyPont - GOSE:- Version 0.7.5, <= 0.13.0-rc1 is affected.
- Before 1.0.0-rc4 is affected.