CVE Explorer
CVE-2026-34950
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"fast-jwt","vendor":"nearform","versions":[{"status":"affected","version":"<= 6.1.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:71988cf21ea46e4706216ba1a73bd77ed5a1c41086193e94bbd6d3f81183add5 · sha256:d58756cfc53722b5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:71988cf21ea46e4706216ba1a73bd77ed5a1c41086193e94bbd6d3f81183add5 · sha256:d58756cfc53722b5… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-327","description":"CWE-327: Use of a Broken or Risky Cryptographic Algorithm","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:71988cf21ea46e4706216ba1a73bd77ed5a1c41086193e94bbd6d3f81183add5 · sha256:d58756cfc53722b5… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-mvf2-f6gm-w987","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-mvf2-f6gm-w987"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:71988cf21ea46e4706216ba1a73bd77ed5a1c41086193e94bbd6d3f81183add5 · sha256:d58756cfc53722b5… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.