SecurityContext

CVE-2026-44351: fast-jwt - Authentication Bypass

  • Cve: CVE-2026-44351
  • Name: fast-jwt - Authentication Bypass
  • Description: 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 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.
  • Impact: Unauthenticated attackers can forge arbitrary JWTs, bypassing authentication and gaining unauthorized access.
  • Remediation: Upgrade to version 6.2.4 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.0025
  • Epss percentile: 0.16347
  • Assignee: [email protected]
  • Published at: 2026-05-13T20:16:22Z
  • Age in days: 195
  • Modified at: 2026-10-26T14:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44351
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-287Improper Authentication

Public exploits

UrlSourceAdded date
https://github.com/isaca0315/CVE-2026-44351-pocpoc-in-github2026-09-15

References

UrlSourceTags
https://github.com/nearform/fast-jwt/security/advisories/GHSA-gmvf-9v4p-v8jcnvd

Products

ProductAffectedPlatform boundSourcesUrl
nearform:fast-jwt< 6.2.4nocna_alias_text/v1/products/nearform/fast-jwt

Projects

RepositoryLink kindsIndexedUrl
nearform/fast-jwtpackage, security_advisoryyes/v1/repositories/nearform/fast-jwt

Index

  • Repositories: 7
  • Repositories high signal: 5
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-09-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts