CVE-2026-89315 JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix
MediumCVSS 6.9
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Eclipse Foundation Eclipse KeyPont - GOSE | < 1.0.0-rc4; >= 0.7.3, <= 0.13.0-rc1 | 1.0.0-rc4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Eclipse Foundation Eclipse KeyPont - GOSE | >= 0.7.3, <= 0.13.0-rc1 | No fix listed |
| Eclipse Foundation Eclipse KeyPont - GOSE | < 1.0.0-rc4 | 1.0.0-rc4 |
References
- github.com
- ENISA EUVD EUVD-2026-108647 third-party-advisory