{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-34950","id":"CVE-2026-34950","title":"fast-jwt has an incomplete fix for CVE-2023-48223: JWT Algorithm Confusion via Whitespace-Prefixed RSA Public Key","description":"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.","descriptionLong":"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.","published":"2026-04-06T15:54:03.765Z","updated":"2026-10-28T02:30:49.886140176Z","reserved":"2026-03-31T17:27:08.661Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["nearform fast-jwt"],"affectedProducts":[{"vendor":"nearform","product":"fast-jwt","defaultStatus":null,"versions":[{"version":"<= 6.1.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"fast-jwt","purl":"pkg:npm/fast-jwt","ranges":["<6.2.0"],"fixed":["6.2.0"],"advisory":"GHSA-mvf2-f6gm-w987"}],"cwes":["CWE-327","CWE-20"],"aliases":["GHSA-mvf2-f6gm-w987"],"references":[{"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-mvf2-f6gm-w987","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34950.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34950","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c2ff-88x2-x9pg","tags":["advisory"]},{"url":"https://github.com/nearform/fast-jwt","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.0025,"epssPercentile":0.16543,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-34950","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34950","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-34950","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mvf2-f6gm-w987","ok":true,"note":"GHSA-mvf2-f6gm-w987"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34950","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}