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

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

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