CVE-2026-89313

JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil

State
Published
Severity
6.3 Medium
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:Neclipse

Weaknesses

  • CWE-706 Use of Incorrectly-Resolved Name or Reference

Affected Products

ProductVersions
Eclipse KeyPont - GOSEEclipse Foundation
  • 0.7.5 through 0.13.0-rc1Affected
Eclipse KeyPont - GOSEEclipse Foundation
  • before 1.0.0-rc4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.