CVE-2026-107722
CVE-2026-107722 — fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
fast-jwt provides fast JSON Web Token (JWT) implementation. From 6.2.0 until 6.3.0, fast-jwt can misclassify RSA public-key text as an HMAC secret when the key has non-whitespace content before its PEM header. In src/crypto.js, performDetectPublicKeyAlgorithms trims whitespace but publicKeyPemMatcher remains start-anchored, so comments, control characters, zero-width characters, or wrapper text can prevent PEM detection and reach the HMAC fallback. An attacker who knows the public key bytes can sign arbitrary HS256 claims with that public material when HS256 is inferred or allowed, resulting in authentication or authorization bypass. An asymmetric-only algorithm allowlist prevents the attack. This issue is fixed in version 6.3.0.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
9.8
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-347
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /crypto.js.
References
4 on the record
- github.com/nearform/fast-jwt/security/advisories/GHSA-ww5h-9m49-7xx4
x_refsource_CONFIRM
- github.com/nearform/fast-jwt/pull/632
x_refsource_MISC
- github.com/nearform/fast-jwt/commit/d96bbc6c5336055a6dbfa318fdbab01197264cfa
x_refsource_MISC
- github.com/nearform/fast-jwt/releases/tag/v6.3.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-48558 SimpleHelp Authentication Bypass via Missing OIDC JWT Signature VerificationCVSS 10.0 · CISA KEV
- CVE-2026-5430 Authentication Bypass via JWT Algorithm Mismatch in Multiple WSO2 Products Allows Account TakeoverCVSS 10.0 · CISA KEV
- CVE-2020-2021 PAN-OS: Authentication Bypass in SAML AuthenticationCVSS 10.0 · CISA KEV
- CVE-2025-59718 Fortinet Multiple Products Improper Verification of Cryptographic Signature VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2013-3900 Microsoft WinVerifyTrust function Remote Code ExecutionCVSS 7.6 · CISA KEV
- CVE-2025-47827 IGEL OS Use of a Key Past its Expiration Date VulnerabilityCVSS 4.6 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.