CVE-2026-89315
published medium CVSS 4.0 · 6.9JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | — | github.com/ThalesGroup/goseEclipse KeyPont - GOSE · 0.7.3 through 0.13.0-rc1 · Other versions: unaffected | Affected | Not stated | eclipse |
| Eclipse Foundation | — | github.com/eclipse-keypont/goseEclipse KeyPont - GOSE · 0 to < 1.0.0-rc4 · Other versions: unaffected | Affected | Not stated | eclipse |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- eclipse · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eclipse Foundation | Eclipse KeyPont - GOSE | 0.7.3 through 0.13.0-rc1 (affected · semver)Default: unaffected | eclipse · cna |
| Eclipse Foundation | Eclipse KeyPont - GOSE | 0 to < 1.0.0-rc4 (affected · semver)Default: unaffected | eclipse · cna |
Weaknesses
1- CWE-248 CWE-248 Uncaught Exception
References
1Provider assertions
2eclipse · cna
JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 540f31e811db6c9ffe913209233e62f08b375d7685d0e87ba259138c097e2d34
- Ingested
- 02 Nov 2026, 13:06:13 UTC
- Source record
- Official CVE record