Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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

Announced Source revision 1
Original source ↗

CVE-2026-89315

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89315

Eclipse KeyPont - GOSE

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Eclipse KeyPont - GOSE

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Eclipse Foundation",
    "product": "Eclipse KeyPont - GOSE",
    "versions": [
      {
        "status": "affected",
        "version": "0.7.3",
        "versionType": "semver",
        "lessThanOrEqual": "0.13.0-rc1"
      }
    ],
    "packageName": "github.com/ThalesGroup/gose",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Eclipse Foundation",
    "product": "Eclipse KeyPont - GOSE",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.0.0-rc4",
        "versionType": "semver"
      }
    ],
    "packageName": "github.com/eclipse-keypont/gose",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-89315

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#52623 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement