Skip to main content

go-jose EUVDEUVD-2026-110466

| CVE-2026-116586 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-10-26 GitHub_M GHSA-vvm8-gf78-28g4
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach endpoint parsing untrusted JSON
  2. Delivery
    Craft deeply nested JSON arrays/objects
  3. Exploit
    Submit payload via JWT/JWE/JWS parse
  4. Execution
    Exceed Go stack limit
  5. Persist
    Stack overflow crashes process
  6. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

The affected application must parse attacker-controlled/untrusted JSON through go-jose - i.e., accept externally supplied JWT, JWE, JWS, or raw JSON and pass it to go-jose's parser without first bounding input size or nesting depth. The concrete trigger is a payload with deeply nested arrays or objects that exceeds Go's stack limit. Exploitation is remote and unauthenticated (AV:N/PR:N/UI:N) against affected versions: go-jose/v4 < 4.1.5 (fixed in 4.1.5) and go-jose/v3 <= 3.0.5 (NOT yet patched). What LIMITS exploitation: the application must actually expose a go-jose parsing path to untrusted input; deployments that only process trusted/internal JSON, or that already reject large inputs before parsing (the vendor-stated workaround), are not exposed. Impact is confined to a process crash (availability only).

Impact

This is a denial-of-service vulnerability (CWE-674, uncontrolled recursion) with a genuinely moderate real-world risk profile - not a false-high. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote, unauthenticated, low-complexity exploitation, but impact is limited to availability only (VC:N/VI:N/VA:L) with no confidentiality or integrity effect, yielding a 6.9 Medium score. Signals are internally consistent: EPSS is low at 0.29% (22nd percentile), the vuln.today decision label is 'this_month' (not act_now/emergency), and there is no CISA KEV listing and no public working exploit - consistent with a bug that is easy to trigger but whose payoff is only a crash. The only mild tension is the VA:L rating: a full application crash is arguably a High availability impact, but the vendor-supplied vector scores it Low, so the practical blast radius (one process crash per malicious request) matches the Low rating. Priority should be driven by exposure rather than severity: environments that parse untrusted JWT/JWE/JWS/JSON through go-jose on an internet-facing path warrant patching this month, while internal-only or trusted-input usage is lower urgency.

Exploit ScenarioDerived

An attacker sends a JWT/JWE/JWS or raw JSON payload containing deeply nested arrays or objects to an endpoint that parses it via go-jose. The nested structure exceeds Go's stack limit during scanning, triggering a stack overflow that crashes the process and denies service to legitimate users. No authentication or user interaction is required (AV:N/PR:N/UI:N); no public working exploit is identified, but the trigger (deeply nested JSON) is trivially reproducible.

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 28, 2026

Parsing deeply nested JSON through go-jose versions prior to 4.1.5 can exhaust Go's stack limit and crash the process, giving remote attackers a denial-of-service primitive against any service that feeds untrusted JWT, JWE, JWS, or raw JSON into the library. The CVSS 4.0 vector rates it AV:N/AC:L/PR:N/UI:N with availability-only impact (score 6.9), while our independent CVSS 3.1 assessment scores it 6.7-level severity as A:L - the practical exposure is limited to applications that actually expose a go-jose parsing path to external input. EPSS is low at 0.29% (22nd percentile) and no public exploit has been identified at time of analysis; the vulnerable v4 branch is fixed in 4.1.5, but the v3 branch (<= 3.0.5) remains unpatched.

RemediationAI

Vendor-released patch: go-jose v4.1.5 - upgrade the github.com/go-jose/go-jose/v4 dependency to 4.1.5 or later (release https://github.com/go-jose/go-jose/releases/tag/v4.1.5, fix in PR https://github.com/go-jose/go-jose/pull/290, commit a31af25836222f4c45d366d6e8f9b1049dd9935a), and re-run dependency scans to confirm no transitive module still resolves an older v4 version. The v3 branch (<= 3.0.5) has no patched release at time of analysis, so projects on the v3 import path must either migrate to v4.1.5+ or apply the vendor-stated workaround: reject large inputs before parsing them, e.g. cap request body size and token length at the HTTP handler or reverse proxy. The trade-off of that workaround is that legitimately large tokens or payloads will be rejected, and a byte-size cap alone does not bound nesting depth, so a complementary depth or token-structure check is advisable until the v3 module is patched. Full details are in advisory https://github.com/go-jose/go-jose/security/advisories/GHSA-vvm8-gf78-28g4.

Affected VersionsENISA

go-jose < 4.1.5

Affected Packages

go github.com/go-jose/go-jose/v3 no fix
go github.com/go-jose/go-jose/v4 fix: 4.1.5
euvd go_jose fix: 4.1.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

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

Technical ContextAI · show details

go-jose is a Go implementation of the JOSE standards (JWS, JWE, JWT) and ships its own internal JSON scanner in json/scanner.go rather than relying solely on encoding/json. CWE-674 (uncontrolled recursion) manifests here because the scanner maintained parsing state through pushParseState, which appended to a parseState slice on every '{' and '[' with no bound on nesting depth. A deeply nested array or object therefore drives the recursive/stacked parse path past Go's goroutine stack limit, producing a stack overflow that terminates the process. The upstream fix (PR #290, commit a31af25836222f4c45d366d6e8f9b1049dd9935a) introduces a maxNestingDepth constant of 10000 and changes pushParseState to accept the current byte, a new parse state and a success state, returning a parse error ("exceeded max depth") once len(parseState) exceeds the limit; the advisory notes this restriction is permitted by RFC 7159 section 9, which allows implementations to set nesting limits. The trigger requires the application to hand attacker-controlled JSON to go-jose's parser without a prior size or depth bound; the advisory is explicitly duplicated as GHSA-6mp9-8xrw-74r4.

Know when Go Jose 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 (GitHub_M) 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

Remote unauthenticated low-complexity parsing of untrusted JSON (AV:N/AC:L/PR:N/UI:N); only a process crash, so C:N/I:N and A:L consistent with the vendor's VA:L.

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 (GitHub_M).

CVSS VectorVendor: GitHub_M

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 26, 2026 - 22:03 EUVD

DescriptionCVE.org

Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.5, parsing attacker-controlled JSON through go-jose allows deeply nested arrays or objects to exceed Go's stack limit. The resulting stack overflow crashes the application and permits denial of service in applications that parse untrusted JSON through go-jose. This issue is fixed in version 4.1.5.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular Go JOSE/JWT library, common in Go auth and identity stacks
Threat Intel
1
1 source
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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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