CVE-2026-34986
Last modified
CVE-2026-34986 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
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.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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| 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 |
References
- https://github.com/go-jose/go-jose/security/advisories/GHSA-78h2-9frx-2jm8Mitigation, Vendor Advisory
- https://pkg.go.dev/github.com/go-jose/go-jose/v4#pkg-constantsProduct, Technical Description
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-34986?
How severe is CVE-2026-34986?
How do I fix CVE-2026-34986?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-34980OpenPrinting CUPS is an open source printing system for Linu…7.5
- CVE-2026-34981The whisperX API is a tool for enhancing and analyzing audio…5.8
- CVE-2026-34982Vim is an open source, command line text editor. Prior to ve…8.2
- CVE-2026-34983Wasmtime is a runtime for WebAssembly. In 43.0.0, cloning a …5
- CVE-2026-34984External Secrets Operator reads information from a third-par…6.5
- CVE-2026-34985LORIS (Longitudinal Online Research and Imaging System) is a…6.5
- CVE-2026-34987Wasmtime is a runtime for WebAssembly. From 25.0.0 to before…9.9
- CVE-2026-34988Wasmtime is a runtime for WebAssembly. From 28.0.0 to before…6.3
- CVE-2026-34989CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …9
- CVE-2026-3499The Product Feed PRO for WooCommerce by AdTribes – Product F…8.8
- CVE-2026-34990OpenPrinting CUPS is an open source printing system for Linu…7.8
- CVE-2026-34992Antrea is a Kubernetes networking solution intended to be Ku…7.5
Are you affected by CVE-2026-34986?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
