Live threats

All CVEs / Nearform

CVE-2026-34950Nearform Fast-jwt

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Apr 6, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-327
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.1.0 and earlier, the publicKeyPemMatcher regex in fast-jwt/src/crypto.js uses a ^ anchor that is defeated by any leading whitespace in the key string, re-enabling the exact same JWT algorithm confusion attack that CVE-2023-48223 patched.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fast-jwt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm fast-jwt < 6.2.0 6.2.0 npm install fast-jwt@6.2.0

Per OSV / GitHub Advisories (GHSA-mvf2-f6gm-w987). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nearformfast-jwt< 6.2.0

Official sources

References

Links published by the sources. Open them with care.