Intel

AIKIDO-2026-10617

github.com/lestrrat-go/jwx/v3 is vulnerable to Cryptographic Issues

Cryptographic Issues Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 28, 2026

60

Medium Risk

This Affects:

GOgithub.com/lestrrat-go/jwx/v3
3.0.0 - 3.0.13
Fixed in 3.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to multiple security issues. EC public keys used for JWE and JWK import are accepted without verifying that the point lies on the configured curve, exposing the recipient to invalid-curve attacks that can leak shared-secret bits. The helper that produces a public JWK set also copies symmetric (HMAC) keys through unchanged, leaking secret material when the result is published. The fast JWT signing path additionally inserts the key ID and algorithm name into the protected header without escaping, allowing crafted values to inject extra or malformed header fields.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/lestrrat-go/jwx/v3 is vulnerable to Cryptographic Issues in versions 3.0.0 - 3.0.13.

How to fix this

Upgrade the github.com/lestrrat-go/jwx/v3 library to the patch version.