CVE-2026-137563: web-token jwt-framework 4.2.1 before 4.2.6 Key Exposure via JWE Exception Traces
web-token jwt-framework from 4.2.1 before 4.2.6 contains an information disclosure vulnerability that exposes decryption keys in exception stack traces when JWE tokens are rejected. Attackers can submit crafted JWE tokens so JWELoader and JWEDecrypter record dir, AES key wrapping, PBES2-derived or content encryption keys in logged trace arguments readable by others.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments using composer/web-token/jwt-framework versions from 4.2.1 up to, but not including, 4.2.6 are affected when rejected JWE tokens can cause exception traces to be logged and those logs are readable by other parties.
What does an attacker need to exploit it?
An attacker needs the ability to submit crafted JWE tokens that are rejected by JWELoader or JWEDecrypter. Exploitation also depends on someone being able to read the resulting logged exception trace arguments.
What sensitive material may appear in logs?
Exception trace arguments can record direct-encryption keys, AES key-wrapping keys, PBES2-derived keys, or content-encryption keys. Integrity and availability impact are not indicated in the provided severity vector, but confidentiality impact is high.
What should be checked while remediation is pending?
Review logs generated for rejected JWE tokens, especially exception stack traces associated with JWELoader and JWEDecrypter. Treat any exposed decryption or encryption key material in accessible logs as sensitive.