{"id":"CVE-2026-102272","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-102272","generatedAt":"2026-10-28T02:58:07.262Z","title":"As a result, public JWK bypasses asymmetric-key detection and becomes the HMAC secret.","description":"PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.prepare_key in jwt/algorithms.py is affected because raw-JWK detector does not normalize accepted Unicode byte-order marks before checking for JSON. This occurs when a public JWK is prefixed with a UTF-8 BOM and used in a mixed-algorithm verification path. As a result, public JWK bypasses asymmetric-key detection and becomes the HMAC secret. Consequently, an attacker who knows the public key can forge authenticated tokens. This issue is fixed in version 2.14.0.","published":"2026-09-28T21:17:15.000Z","lastModified":"2026-10-06T18:34:25.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},"cwe":["CWE-347"],"affected":["pyjwt project/pyjwt"],"epss":{"score":0.00216,"percentile":0.12008,"date":"2026-10-26","history":[{"date":"2026-09-29","score":0.00185,"percentile":0.07266}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.22%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-28T21:17:15.000Z","detail":{"score":"7.4","severity":"HIGH","publishedAt":"2026-09-28T21:17:15.280Z"},"summary":"New CVE, high severity (CVSS 7.4)."}],"references":[{"url":"https://github.com/jpadilla/pyjwt/commit/180783930de91876bc0d601f826a1f2956057291","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/jpadilla/pyjwt/releases/tag/2.14.0","tags":["Product","Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-r6x4-923q-g947","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-r6x4-923q-g947","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102272","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}