CVE-2026-89315

JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix

State
Published
Severity
6.9 Medium
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:Neclipse

Weaknesses

Affected Products

ProductVersions
Eclipse KeyPont - GOSEEclipse Foundation
  • 0.7.3 through 0.13.0-rc1Affected
Eclipse KeyPont - GOSEEclipse Foundation
  • before 1.0.0-rc4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.