{"id":"CVE-2026-89315","state":"PUBLISHED","title":"JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix","description":"`JwtClaims.MarshalJSON` built a Go struct at runtime with `reflect.StructOf`, synthesising a field named `\"A\" + claimName` for each untyped claim. `reflect.StructOf` **panics** when a field name is not a valid Go identifier, or when it duplicates another field. Both conditions are reachable from ordinary JWT claim names.","publishedAt":"2026-10-23T08:46:30.146Z","updatedAt":"2026-10-23T08:46:30.146Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","source":"eclipse"},"assigner":"eclipse","products":["Eclipse Foundation Eclipse KeyPont - GOSE"],"affected":[{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/ThalesGroup/gose","defaultStatus":"unaffected","versions":[{"version":"0.7.3","status":"affected","lessThanOrEqual":"0.13.0-rc1","versionType":"semver"}]},{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/eclipse-keypont/gose","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.0-rc4","versionType":"semver"}]}],"references":["https://github.com/eclipse-keypont/gose/security/advisories/GHSA-hwm6-rwv6-xgq8"],"weaknesses":["CWE-248"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89315.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89315","state":"PUBLISHED","datePublished":"2026-10-23T08:46:30.146Z","dateUpdated":"2026-10-23T08:46:30.146Z","assignerShortName":"eclipse","assignerOrgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","dateReserved":"2026-09-11T13:55:49.179Z"},"containers":{"cna":{"title":"JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix","descriptions":[{"lang":"en","value":"`JwtClaims.MarshalJSON` built a Go struct at runtime with `reflect.StructOf`, synthesising a field named `\"A\" + claimName` for each untyped claim. `reflect.StructOf` **panics** when a field name is not a valid Go identifier, or when it duplicates another field. Both conditions are reachable from ordinary JWT claim names."}],"affected":[{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/ThalesGroup/gose","defaultStatus":"unaffected","versions":[{"version":"0.7.3","status":"affected","lessThanOrEqual":"0.13.0-rc1","versionType":"semver"}]},{"vendor":"Eclipse Foundation","product":"Eclipse KeyPont - GOSE","packageName":"github.com/eclipse-keypont/gose","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.0-rc4","versionType":"semver"}]}],"references":[{"url":"https://github.com/eclipse-keypont/gose/security/advisories/GHSA-hwm6-rwv6-xgq8"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.9,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248 Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"eclipse","orgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","dateUpdated":"2026-10-23T08:46:30.146Z"},"credits":[{"lang":"en","value":"Eclipse Foundation Security Team","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.5"}}}}}