CVE-2026-89315 JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-89315?
CVE-2026-89315 is a medium-severity vulnerability in Eclipse KeyPont - GOSE, published on 23 Oct 2026.
Official 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.
Weakness: CWE-248
Which versions are affected by CVE-2026-89315?
How do I fix CVE-2026-89315?
No fix has been published for CVE-2026-89315 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-89315 being exploited?
There is no known exploitation of CVE-2026-89315 in the wild and no public exploit code.
Sources
Also known as GHSA-hwm6-rwv6-xgq8.