Security Resilience

CVE-2026-44351

Auth Bypass in nearform fast-jwt

Published
13 May 2026
Modified
26 October 2026
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0033 19th percentile
Risk Priority 66 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-44351 is a critical-severity Improper Authentication (CWE-287) vulnerability in nearform fast-jwt (named in the CVE record; NVD lists no product yet). Its CVSS base score is 9.1 (Critical).

Operationally, ranked at the 19th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to IA-2 (Identification and Authentication (Organizational Users)) and IA-3 (Device Identification and Authentication) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.2.4, a critical authentication-bypass vulnerability in fast-jwt's async key-resolver flow allows any unauthenticated attacker to forge arbitrary JWTs that are accepted as authentic. When the application's key resolver returns an…

more

empty string (''), for example via the common keys[decoded.header.kid] || '' JWKS-style fallback, fast-jwt converts it to a zero-length Buffer, hands it to crypto.createSecretKey, derives allowedAlgorithms = ['HS256','HS384','HS512'] from it, and then verifies the token's signature against an empty-key HMAC. The attacker simply computes HMAC-SHA256(key='', input='${header}.${payload}'), which Node accepts without complaint — and the verifier returns the attacker-chosen payload (sub, admin, scopes, etc.) as authentic. This vulnerability is fixed in 6.2.4.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-45363Shared CWE-1391, CWE-287
CVE-2026-49852Shared CWE-1391, CWE-287
CVE-2026-114616Shared CWE-1391, CWE-287
CVE-2023-3470Shared CWE-1391, CWE-287
CVE-2023-48257Shared CWE-1391, CWE-287
CVE-2026-33512Shared CWE-287, CWE-326
CVE-2026-22594Shared CWE-287
CVE-2023-28540Shared CWE-287
CVE-2026-51584Shared CWE-287
CVE-2023-3127Shared CWE-287

Affected Assets

nearform
fast-jwt
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates unique identification and authentication of organizational users before access, directly stopping improper authentication.

Requires unique identification and authentication of devices before establishing connections, preventing unauthenticated device claims.

IA-5 directly requires management of authenticator strength, distribution, and replacement, stopping default or guessable credentials from being introduced or used.

Mandates unique identification and authentication of non-organizational users, directly addressing the weakness for external actors.

SC-13 requires selection and implementation of specific cryptographic algorithms and key lengths, directly preventing use of inadequate encryption strength.

Enforces access only after approved authorizations, which presupposes correct authentication has occurred.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can discover weak credentials, but does not guarantee they are prevented by design.

blocks

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

blocks

Requiring the organization to define and enforce minimum cryptographic strength prevents deployment of insufficient key lengths or weak ciphers that can be brute-forced.

prevents

Secure-coding rules can prohibit hard-coded passwords, yet coverage depends on specific coding standards adopted.

blocks

A.8.5 mandates secure authentication techniques, multi-factor authentication, and log-on procedures that directly prevent unauthorized access, fully blocking exploitation of improper authentication weaknesses.

blocks

A.8.9 changes vendor default authentication information immediately after installation and enforces secure configuration templates, which removes the weak credential rather than leaving it in place and stopping its use; the weakness is not present to be exploited, so the control does not block it.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-287, a class-level weakness. Rules are authored against its narrower children: CWE-295, CWE-306.
  • No fine-grained STIG row for CWE-326, a class-level weakness. Rules are authored against its narrower children: CWE-328.
  • No fine-grained STIG row for CWE-1391, a class-level weakness. Rules are authored against its narrower children: CWE-521.

References