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".
Published: 2026-10-23
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Incorrect JWKS key lookup may allow a forged token to be validated and result in authentication bypass
Action: Immediate Patch
AI Analysis

Impact

When the requested key identifier is not present, the JwksTrustStore.Get function returns the most recent key from the JWKS document together with a nil error. This logic flaw means that calls to the function receive a valid cryptographic key even though the requested key does not exist, allowing a caller to validate a token signed with an unexpected key. The attack vector is inferred from the description, as an attacker could manipulate a JWT header with a non‑existent kid field. The resulting effect is that a malicious actor can supply a JSON Web Token with a non‑existent kid field and have it accepted as valid, enabling unauthorized access or privilege escalation. The vulnerability is classified as a control‑flow issue (CWE‑706).

Affected Systems

The flaw resides in Eclipse KeyPont GOSE, a component distributed by the Eclipse Foundation. Specific product versions affected are not listed in the advisory, so any environment using any released version of this library is potentially impacted until a fix is published. The affected product scope is inferred from the vendor/product name, and specific version details are missing.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The exploitation path is inferred from the description, involving manipulation of the JWT header. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the exploitation requires only the manipulation of a JWT header and the use of the vulnerable library. Because it directly influences authentication, the risk is high for systems that rely on the library for token verification, and because the exploit path is simple, the potential attack surface is broad.

Generated by OpenCVE AI on October 23, 2026 at 10:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Eclipse KeyPont GOSE to the latest release that contains the fix for JwksTrustStore.Get.
  • If a patch is not yet available, modify your code to explicitly verify that the returned key’s kid matches the requested kid; reject the token if it does not.
  • Add an assertion in your token validation logic to ensure a non‑nil key is returned only when the requested kid exists in the JWKS cache, and log any mismatches for audit.

Generated by OpenCVE AI on October 23, 2026 at 10:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse keypont-gose
Vendors & Products Eclipse
Eclipse keypont-gose

Fri, 23 Oct 2026 08:45:00 +0000

Type Values Removed Values Added
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".
Title JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil
Weaknesses CWE-706
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}


Subscriptions

Eclipse Keypont-gose
cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-11-02T12:49:31.095Z

Reserved: 2026-09-11T13:55:44.985Z

Link: CVE-2026-89313

cve-icon Vulnrichment

Updated: 2026-11-02T12:49:19.896Z

cve-icon NVD

Status : Deferred

Published: 2026-10-23T09:17:07.797

Modified: 2026-11-02T13:17:39.283

Link: CVE-2026-89313

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T19:09:36Z

Weaknesses
  • CWE-706

    Use of Incorrectly-Resolved Name or Reference