Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137563: medium-severity vulnerability (CVSS 5.9) in web-token jwt-library.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.9.
Affected products and versions
web-token jwt-library >= 4.2.1, < 4.2.6; web-token jwt-library 4.2.6 (fixed in 4.2.6); web-token jwt-framework >= 4.2.1, < 4.2.6; web-token jwt-framework 4.2.6 (fixed in 4.2.6); web-token jwt-experimental >= 4.2.1, < 4.2.6; web-token jwt-experimental 4.2.6 (fixed in 4.2.6)
| Product | Versions | Fixed in |
|---|---|---|
| web-token jwt-library | >= 4.2.1, < 4.2.6 | — |
| web-token jwt-library | 4.2.6 | 4.2.6 |
| web-token jwt-framework | >= 4.2.1, < 4.2.6 | — |
| web-token jwt-framework | 4.2.6 | 4.2.6 |
| web-token jwt-experimental | >= 4.2.1, < 4.2.6 | — |
| web-token jwt-experimental | 4.2.6 | 4.2.6 |
Action recommended by the source
Upgrade to a fixed version: 4.2.6.
Fixed in: 4.2.6
Sources and references
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-7hp7-mg7x-hww4 — CVE Program
- https://www.vulncheck.com/advisories/web-token-jwt-framework-4.2.1-before-4.2.6-key-exposure-via-jwe-exception-traces — CVE Program
Weaknesses (CWE): CWE-209
Relevant change history
Published
Preliminary advisory published.