THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-ww5h-9m49-7xx4 (critical) — fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion

[GHSA] GHSA-ww5h-9m49-7xx4 (critical) — fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion

medgithub_advisoriesPublished 2026-10-08

GHSA-ww5h-9m49-7xx4 Severity: critical CVE: CVE-2026-107722

fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion

### Summary

The fix for CVE-2026-34950 (CVSS 9.1, released in v6.2.0) is **incomplete**. It adds `key.trim()` to the PEM-detection path in `src/crypto.js`, but `String.prototype.trim()` only strips characters classified as w

Indicators of compromise

Original source: https://github.com/advisories/GHSA-ww5h-9m49-7xx4