# CVE-2026-102269: PyJWT: Non-canonical signature segments enable raw-token revocation bypass

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-28T20:27:54.521Z
- Modified: 2026-10-06T18:54:08.460Z
- Also known as: GHSA-hxm8-2xgr-2p9m, PYSEC-2026-4147
- Weaknesses: CWE-180
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT signature segment is affected because signature segment decoding accepts characters outside the canonical Base64URL representation. This occurs when non-Base64URL characters are appended to a valid compact JWS signature segment. As a result, base64url_decode produces the same signature bytes for different serialized segments. Consequently, raw-token revocation checks can fail to recognize an equivalent modified token. This issue is fixed in version 2.14.0.

(As written by CVE List.)

## Affected

- jpadilla pyjwt: < 2.14.0
- pyjwt (PyPI): before 2.14.0
- pyjwt_project pyjwt: before 2.14.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-hxm8-2xgr-2p9m> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/jpadilla/pyjwt/commit/e6f48401001609a8f99e71fcaf355fb895d508a8> (patch, web)
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102269> (advisory)
- <https://github.com/jpadilla/pyjwt> (package)
- <https://pypi.org/project/pyjwt> (package)
- <https://github.com/advisories/GHSA-hxm8-2xgr-2p9m> (advisory)

## Sources

- CVE List: [CVE-2026-102269](https://www.cve.org/CVERecord?id=CVE-2026-102269), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-hxm8-2xgr-2p9m](https://github.com/advisories/GHSA-hxm8-2xgr-2p9m), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-102269](https://nvd.nist.gov/vuln/detail/CVE-2026-102269), Public domain, modified 2026-10-06
- PyPA Advisory Database: [PYSEC-2026-4147](https://osv.dev/vulnerability/PYSEC-2026-4147), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-102269 · Whole record: https://cve.day/CVE-2026-102269.json · Rebuilt by cve.day 2026-11-25T22:59:41.387Z
