Use of Hard-coded Cryptographic Key in cjose - #VU133240
Published: June 2, 2026
cjose
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose plaintext and modify protected content.
The vulnerability exists due to use of a hard-coded cryptographic key in JWE encryption in src/jwe.c when encrypting a JWE with an AES-CBC-HMAC content-encryption algorithm together with a key-management algorithm that generates a fresh CEK. A remote attacker can obtain a produced JWE and decrypt or forge its contents to disclose plaintext and modify protected content.
This affects only JWEs produced by the vulnerable encryption path; the issue does not affect the decryption path.