What’s Vulnerable › Vulnerabilities
CVE-2026-89315: JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix
- Severity: medium (CVSS 6.9 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-23 · updated 2026-10-23
- Weakness: CWE-248
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.
Affected products
- Eclipse Foundation Eclipse KeyPont - GOSE: from 0.7.3 through 0.13.0-rc1; before 1.0.0-rc4 — fixed in 1.0.0-rc4
How to fix
Upgrade to a fixed version: Eclipse Foundation Eclipse KeyPont - GOSE 1.0.0-rc4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-89315 or the next vulnerability affects your stack