`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.
History

Mon, 02 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

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

cve-icon Vulnrichment

Updated: 2026-11-02T12:55:06.143Z

cve-icon NVD

Status : Deferred

Published: 2026-10-23T09:17:08.027

Modified: 2026-11-02T13:17:39.570

Link: CVE-2026-89315

cve-icon Redhat

No data.