Vulnerability 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.
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-89315?
CVE-2026-89315 is a documented vulnerability. `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 no...
How severe is CVE-2026-89315?
CVSS scoring is not yet available for CVE-2026-89315. Check NVD for updates.
Is there a patch for CVE-2026-89315?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.