`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.
Metrics
Affected Vendors & Products
References
History
Mon, 02 Nov 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Mon, 26 Oct 2026 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Eclipse
Eclipse keypont-gose |
|
| Vendors & Products |
Eclipse
Eclipse keypont-gose |
Fri, 23 Oct 2026 09:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix | |
| Weaknesses | CWE-248 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: eclipse
Published: 2026-10-23T08:46:30.146Z
Updated: 2026-11-02T12:59:14.783Z
Reserved: 2026-09-11T13:55:49.179Z
Link: CVE-2026-89315
Updated: 2026-11-02T12:55:06.143Z
Status : Deferred
Published: 2026-10-23T09:17:08.027
Modified: 2026-11-02T13:17:39.570
Link: CVE-2026-89315
No data.