CVE-2026-34986Go-jose Project Go-jose
High 7.5 No auth needed
Follow: this CVE · Go-jose Project · Go-jose Project Go-jose We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 6, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.4 and 3.0.5, decrypting a JSON Web Encryption (JWE) object will panic if the alg field indicates a key wrapping algorithm (one ending in KW, with the exception of A128GCMKW, A192GCMKW, and A256GCMKW) and the encrypted_key field is empty. The panic happens when cipher.KeyUnwrap() in key_wrap.go attempts to allocate a slice with a zero or negative length based on the length of the encrypted_key. This code path is reachable from ParseEncrypted() / ParseEncryptedJSON() / ParseEncryptedCompact() followed by Decrypt() on the resulting object. Note that the parse functions take a list of accepted key algorithms. If the accepted key algorithms do not include any key wrapping algorithms, parsing will fail and the application will be unaffected. This panic is also reachable by calling cipher.KeyUnwrap() directly with any ciphertext parameter less than 16 bytes long, but calling this function directly is less common. Panics can lead to denial of service. This vulnerability is fixed in 4.1.4 and 3.0.5.
What to do
- Apply the vendor's security update for Go-jose.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-jose/go-jose |
≤ 2.6.3 |
no fixed version | — |
| Go | github.com/go-jose/go-jose/v3 |
< 3.0.5 |
3.0.5 |
go get github.com/go-jose/go-jose/v3@v3.0.5 |
| Go | github.com/go-jose/go-jose/v3 |
< 3.0.5 |
3.0.5 |
go get github.com/go-jose/go-jose/v3@v3.0.5 |
| Go | github.com/go-jose/go-jose/v4 |
< 4.1.4 |
4.1.4 |
go get github.com/go-jose/go-jose/v4@v4.1.4 |
| Go | github.com/go-jose/go-jose/v4 |
< 4.1.4 |
4.1.4 |
go get github.com/go-jose/go-jose/v4@v4.1.4 |
Per OSV / GitHub Advisories (GHSA-78h2-9frx-2jm8, GO-2026-4945). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-jose_project | go-jose | ≥ 3.0.0 < 3.0.5 |
| go-jose_project | go-jose | ≥ 4.0.0 < 4.1.4 |
Official advisories
- cosign-3.1.6-1.1 on GA media · SUSE · openSUSE-SU-2026:12704-1 · Nov 27, 2026 Critical
- Red Hat Security Advisory: OpenShift Container Platform 4.17.58 packages and security update · Red Hat · RHSA-2026:70585 · Nov 23, 2026 High
- cri-o-1.36.7-1.1 on GA media · SUSE · openSUSE-SU-2026:12626-1 · Nov 20, 2026 Critical
- Security update for skopeo · SUSE · SUSE-SU-2026:5193-1 · Nov 11, 2026 High
- Red Hat Security Advisory: OpenShift Container Platform 4.15.69 packages and security update · Red Hat · RHSA-2026:67856 · Sep 25, 2026 High
- Red Hat Security Advisory: OpenShift Container Platform 4.14.74 packages and security update · Red Hat · RHSA-2026:67836 · Sep 25, 2026 High
Also: SUSE (+65), Red Hat (+40)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Mitigation Vendor Advisory
- pkg.go.dev Product Technical Description
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com