CVE-2026-89315

CVE-2026-89315CVE-2026-89315

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.

Scoring

Last modified2026-10-23
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.