CVE-2026-89315
`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.
- Score
- CVSS 4.0 6.9 Medium
- Status
- Deferred - emo@eclipse.org
- Published
- 2026-10-23
- Last modified
- 2026-10-23
- Weaknesses
- CWE-248
Affected products
References
- https://github.com/eclipse-keypont/gose/security/advisories/GHSA-hwm6-rwv6-xgq8