Skip to main content

Eclipse KeyPont gose CVE-2026-89315

| EUVDEUVD-2026-108647 MEDIUM
Uncaught Exception (CWE-248)
2026-10-23 eclipse
6.9
CVSS 4.0 · Vendor: eclipse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Present JWT with namespaced custom claim
  2. Delivery
    Verify returns JwtClaims with attacker-chosen keys
  3. Exploit
    Caller invokes json.Marshal on claims
  4. Execution
    reflect.StructOf panics on invalid field name
  5. Impact
    Unrecovered panic terminates goroutine (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
Exploitation Conditions

Exploitation requires that application code call json.Marshal on a *jose.JwtClaims value (typically the one returned by JwtVerifierImpl.Verify) - the panic lives only on the marshalling path, so callers that read claim fields directly are unaffected. The trigger is a token containing an untyped custom claim whose key either contains any character outside [A-Za-z0-9_] / Unicode letters-digits (e.g. '-', '.', ':', '/', space, '#', '@', as in the OIDC/Auth0-mandated 'https://example.com/roles') or collides after the 'A' prefix with an embedded field ('utomaticJwtClaims' → AutomaticJwtClaims, 'ettableJwtClaims' → SettableJwtClaims); the existing reserved-claim guard does not cover these. Limiting factors: impact is bounded to availability (VA:L) and only manifests as an outage if the caller does not recover the panic; applications that never serialise verified claims are not exposed. Notably no attacker is required - a legitimate standards-compliant IdP token triggers it.

Impact

The input provides a CVSS 4.0 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, score 6.9 Medium) whose only non-zero impact is VA:L - a recoverable availability (denial-of-service) hit with no confidentiality or integrity effect. No EPSS probability is supplied, there is no CISA KEV listing, and no standalone public exploit is packaged; however the GHSA advisory documents an executed reproducer covering both panic classes plus a regression test, so a working trigger demonstrably exists even though it is not published as a weaponised exploit. The vuln.today decision label is 'this_month', consistent with a real-but-not-emergency priority. The signals are coherent rather than conflicting: network-reachable (AV:N), low complexity (AC:L), unauthenticated (PR:N), but low technical impact (availability only, and only when the caller fails to recover the panic). The unusual elevating factor is that the crash fires on entirely legitimate tokens - URL-namespaced custom claims such as 'https://example.com/roles' are exactly what OIDC and Auth0 mandate - so the most probable first encounter is a self-inflicted production outage from a standards-compliant IdP, not a deliberate attack. Net: a genuine but moderate operational-reliability issue rather than a high-urgency breach risk; teams that marshal verified JwtClaims should patch this month, while those that never serialise the claims struct are not exposed.

Exploit ScenarioDerived

A service uses eclipse-keypont/gose to verify JWTs and then calls json.Marshal on the *jose.JwtClaims returned by Verify - for logging, caching, forwarding or re-signing. When a token carries a custom claim whose name contains a character outside a Go identifier (e.g. the standard URL-namespaced 'https://example.com/roles') or the collision name 'utomaticJwtClaims', reflect.StructOf panics, the panic escapes encoding/json's recover, and the handling goroutine terminates. A researcher-executed reproducer in the advisory confirms both the invalid-identifier and duplicate-field panics; an attacker can trigger it with their own validly-issued token, but a trusted IdP issuing standards-compliant claims triggers it with no attacker at all.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 23, 2026

Denial of service in Eclipse KeyPont's gose JOSE/JWT Go library: JwtClaims.MarshalJSON builds a runtime struct with reflect.StructOf, naming each field "A" + claimName, which panics whenever an untyped claim key is not a valid Go identifier (for example the URL-namespaced https://example.com/roles claims that OIDC and Auth0 mandate) or collides after prefixing (utomaticJwtClaims, ettableJwtClaims). All releases of github.com/ThalesGroup/gose from v0.7.3 through v0.13.0-rc1 are affected and that module path is deprecated and unpatched, while github.com/eclipse-keypont/gose is affected below v1.0.0-rc4 and fixed in v1.0.0-rc4. Impact is availability only (assessed CVSS:3.1 AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:L, vendor CVSS 4.0 6.9 Medium with VA:L), the panic is reachable from legitimate standards-compliant IdP tokens without any attacker, and it only bites callers that call json.Marshal on the *jose.JwtClaims returned by JwtVerifierImpl.Verify without recovering; a reproducer is documented in the upstream advisory, and no public exploit code or active exploitation is confirmed (no CISA KEV listing).

RemediationAI

Upgrade to github.com/eclipse-keypont/gose v1.0.0-rc4 or later, which replaces the reflect-based struct synthesis with a map[string]json.RawMessage merge and eliminates the entire panic class rather than enumerating specific claim names; note that a proposed name-validation guard would have turned standards-compliant URL-namespaced OIDC claims into hard errors, so the map-based fix is the intended path. Consumers still on github.com/ThalesGroup/gose must change the module path in go.mod, not merely bump the version, because that lineage ends at the still-vulnerable v0.13.0-rc1 and go get -u will not remediate: replace github.com/ThalesGroup/gose v0.13.0-rc1 with github.com/eclipse-keypont/gose v1.0.0-rc4. Where upgrading is not immediately possible, avoid calling json.Marshal on any *jose.JwtClaims obtained from Verify - reading claim fields directly is safe, and callers that must serialise claims should first copy UntypedClaims into their own map[string]json.RawMessage and marshal that; the trade-off is that this duplicates serialisation logic and must be applied at every call site (logging, caching, forwarding, re-signing). Callers that cannot avoid marshalling should recover panics around the serialisation boundary, accepting that the affected request or goroutine is still aborted (this is the recovered case reflected in the A:L score). Advisory: https://github.com/eclipse-keypont/gose/security/advisories/GHSA-hwm6-rwv6-xgq8.

Affected VersionsENISA

Eclipse KeyPont - GOSE 0.7.3 ≤0.13.0-rc1
Eclipse KeyPont - GOSE 0 <1.0.0-rc4

Affected Packages

euvd eclipse_keypont_gose fix: 1.0.0-rc4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

gose implements JWS/JWT handling in Go. Its JwtClaims.UnmarshalJSON sends the seven registered JWT claim names to typed struct fields and copies every remaining top-level JSON key verbatim into UntypedClaims map[string]json.RawMessage, so claim names supplied inside the middle segment of a compact token become attacker-influenced map keys. MarshalJSON then re-materialised those keys as struct fields via reflect.StructOf, synthesising Name = "A" + k with a json:"k" tag alongside the embedded *AutomaticJwtClaims and *SettableJwtClaims pointers. The root cause is CWE-248 (Uncaught Exception): reflect.StructOf panics on a field name that is not a valid Go identifier - any character outside [A-Za-z0-9_] plus Unicode letters and digits, which covers -, ., :, /, space, # and @ - and on duplicate field names, which the keys utomaticJwtClaims and ettableJwtClaims produce by colliding with the embedded AutomaticJwtClaims and SettableJwtClaims fields; the library's reserved-claim guard only rejects the seven registered names and does not cover either case. encoding/json's internal recover only swallows its own jsonError type, so the reflect panic propagates to the caller and terminates the goroutine. The upstream fix (be2277b, merged as 692c25c) removes the runtime struct construction entirely and merges typed claims with untyped claims in a map[string]json.RawMessage, which has no naming constraints and preserves URL-namespaced claims; the only observable side effect is that encoding/json sorts map keys, which is not semantically meaningful and does not affect signature verification because verification operates on received bytes rather than re-marshalled output.

Know when Go gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (eclipse) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Token keys arrive over the network with no authentication or user interaction (AV:N/AC:L/PR:N/UI:N); the recoverable crash yields availability-only impact (A:L), with C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (eclipse).

CVSS VectorVendor: eclipse

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 23, 2026 - 10:01 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche Go JOSE/JWT library, limited production footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Go

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2016-5386 HIGH
8.1 Jul 19

The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there

CVE-2025-68121 CRITICAL POC
10.0 Feb 05

Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu

CVE-2019-14809 CRITICAL POC
9.8 Aug 13

net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization by

CVE-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2026-101090 CRITICAL POC
9.3 Sep 27

Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re

CVE-2026-78428 HIGH POC
8.8 Sep 17

Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a

CVE-2026-92791 HIGH POC
8.7 Sep 16

Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure

CVE-2018-7187 HIGH POC
8.8 Feb 16

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa

CVE-2026-16651 HIGH POC
8.7 Sep 21

Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash

CVE-2026-82405 HIGH POC
8.7 Sep 23

Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker

CVE-2026-82409 HIGH POC
8.4 Sep 23

Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy