CVE-2026-107724
CVE-2026-107724 — fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery
fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.2.4, fast-jwt can classify raw serialized public JWK or JWKS JSON as an HMAC secret because src/crypto.js performDetectPublicKeyAlgorithms treats non-PEM strings as symmetric key material. If HS256 is explicitly allowed or inferred, an attacker who knows the exact serialized public-key bytes can use those bytes as an HMAC key and create a token containing arbitrary claims that createVerifier accepts. Serialization ordering or whitespace differences can prevent exploitation, and applications using supported PEM keys with an asymmetric-only algorithm allowlist are not affected. 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
7.4
HIGH
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
No
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 |
|---|---|---|---|---|---|
| 7.4 | CVSS 3.1 | HIGH | 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-g3jj-5cmm-3hxx
x_refsource_CONFIRM
- github.com/nearform/fast-jwt/pull/636
x_refsource_MISC
- github.com/nearform/fast-jwt/commit/10f9591349199ed2ab9fa1748ce92cdca697f6cf
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.