Skip to content
6.9 Medium

CVE-2026-89315 `JwtClaims.MarshalJSON` built a Go struct at runtime with `reflect.StructOf`, synthesising a field named `"A" +…

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 and versions

Product Affected versions Fixed in
Eclipse KeyPont - GOSE 1.0 earliest → < 1.0.0-rc4 1.0.0-rc4
The 9 CVEs of Eclipse KeyPont - GOSE →
Track this CVE