{"id":"CVE-2026-89313","revision":"b2104ad56c9a41408e17d9ecffa14a7f","records":[{"revision":"b2104ad56c9a41408e17d9ecffa14a7f","observedAt":"2026-10-23T16:01:20.601+00:00","statement":{"source":"cve-program","id":"CVE-2026-89313","aliases":[],"title":"JwksTrustStore.Get returns the last fetched JWKS key (err=nil) when the requested kid is absent, instead of nil","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\".","state":0,"publishedAt":"2026-10-23T08:40:55.499+00:00","modifiedAt":"2026-10-23T08:40:55.499+00:00","affected":[{"ecosystem":"Vendor product","name":"github.com/ThalesGroup/gose","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Eclipse Foundation\",\n                    \"product\": \"Eclipse KeyPont - GOSE\",\n                    \"packageName\": \"github.com/ThalesGroup/gose\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0.7.5\",\n                            \"lessThanOrEqual\": \"0.13.0-rc1\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"},{"ecosystem":"Vendor product","name":"github.com/eclipse-keypont/gose","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Eclipse Foundation\",\n                    \"product\": \"Eclipse KeyPont - GOSE\",\n                    \"packageName\": \"github.com/eclipse-keypont/gose\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.0.0-rc4\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/eclipse-keypont/gose/security/advisories/GHSA-v7r8-g6h9-99vv"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89313","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-89313","identifiers":["CVE-2026-89313"]},"retained":false,"historicalAffected":[]}],"coverage":[]}