`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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
23 Oct 2026, 09:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-23 09:17
Updated : 2026-10-23 19:30
NVD link : CVE-2026-89315
Mitre link : CVE-2026-89315
CVE.ORG link : CVE-2026-89315
JSON object : View
Products Affected
No product.
CWE
CWE-248
Uncaught Exception
