CVE-2026-107720 Details
Description
fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.1, fast-jwt createVerifier accepts an unsigned JWT when key is an empty string or null and algorithms is a non-empty allowlist. Falsy synchronous keys bypass prepareKeyOrSecret, allowedAlgorithms remains active, hasKey is false, and the empty signature avoids the verifySignature gate. An attacker can therefore submit a token containing arbitrary claims without possessing a signing key, resulting in authentication or authorization bypass. Claim validators still run, and non-empty keys, an empty key without algorithms, and the async key resolver path do not have this behavior. This issue is fixed in version 6.3.1.
A vulnerability in the fast-jwt library, affecting versions through 6.3.0, allows for authentication and authorization bypass by exploiting the createVerifier function. The issue arises when the key option is set to an empty string or null, and the algorithms option includes a non-empty allowlist. Under these conditions, the verifier accepts unsigned JSON Web Tokens (JWTs) without verifying their signatures, enabling the injection of arbitrary claims. This vulnerability is particularly concerning for applications that rely on JWTs for access control or user identity verification.
Users are advised to update to fast-jwt version 6.3.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 8, 2026CISA-ADP
Assessed Oct 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nearform/fast-jwt/security/advisories/GHSA-8wpc-h4q6-8fxv | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/nearform/fast-jwt/commit/e22a151e83bf6d5e54e281216982d204d5665534 | [email protected] | Source CodeVendor |
| https://github.com/nearform/fast-jwt/pull/649 | [email protected] | Source CodeVendor |
| https://github.com/nearform/fast-jwt/releases/tag/v6.3.1 | [email protected] | Release NotesVendor |
| https://github.com/nearform/fast-jwt/security/advisories/GHSA-8wpc-h4q6-8fxv | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fast-jwt | <= 6.3.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 9, 2026 | CVE Modified | CISA-ADP |
| Oct 8, 2026 | New CVE Received | [email protected] |
Volerion