← CVE Intelligence

CVE-2026-89315

JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix PUBLISHED

Description (CNA)

`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 (CNA)

Vendor / productVersions
Eclipse Foundation / Eclipse KeyPont - GOSEaffected 0.7.3 through 0.13.0-rc1
Eclipse Foundation / Eclipse KeyPont - GOSEaffected 0 before 1.0.0-rc4

CWE

CWE-248

References