CVE-2026-89315

published 23 Oct 2026 · updated 2 Nov 2026

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

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.0.0-rc4.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Eclipse Foundation<1.0.0-rc4, >=0.7.3 <=0.13.0-rc11.0.0-rc4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-89315 severity on Zeptric[![CVE-2026-89315](https://zeptric.io/badge/cve/CVE-2026-89315.svg)](https://zeptric.io/cve/CVE-2026-89315)