CVE-2026-34950Nearform Fast-jwt Use of a Broken or Risky Cryptographic Algorithm
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.1 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Nearform Fast-jwt < 6.2.0
- nearform fast-jwt <= 6.1.0
- Nearform Fast-jwt 6.2.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Nearform Fast-jwt and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Apr 6, 2026Published
- Oct 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Nearform Fast-jwt CVEsYou are reading CVE-2026-34950. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 10:13 UTC