← Database

CVE-2026-89315

N/A CVSS: N/A Published: 2026-10-23 Modified: 2026-10-23

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 Platforms

Unknown

Weakness Type

CWE-248

References