{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-102272","id":"CVE-2026-102272","title":"PyJWT BOM Bypass","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 asymmetr","descriptionLong":"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-28T20:36:31.530Z","updated":"2026-11-04T16:57:05.358638659Z","reserved":"2026-09-28T20:11:16.658Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["jpadilla pyjwt"],"affectedProducts":[{"vendor":"jpadilla","product":"pyjwt","defaultStatus":null,"versions":[{"version":">= 2.13.0, < 2.14.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pyjwt","purl":"pkg:pypi/pyjwt","ranges":[">=2.13.0 <2.14.0"],"fixed":["2.14.0"],"advisory":"GHSA-r6x4-923q-g947"}],"cwes":["CWE-347"],"aliases":["GHSA-r6x4-923q-g947","PYSEC-2026-4150"],"references":[{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-r6x4-923q-g947","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/jpadilla/pyjwt/commit/180783930de91876bc0d601f826a1f2956057291","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/jpadilla/pyjwt/releases/tag/2.14.0","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102272.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102272","tags":["advisory"]},{"url":"https://github.com/jpadilla/pyjwt","tags":["package"]},{"url":"https://pypi.org/project/pyjwt","tags":["package"]},{"url":"https://github.com/advisories/GHSA-r6x4-923q-g947","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00216,"epssPercentile":0.12251,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102272","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102272","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-102272","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r6x4-923q-g947","ok":true,"note":"GHSA-r6x4-923q-g947"},{"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-102272","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}