
CVE catalog
CVE-2024-53861
pyjwt: CVE-2024-53861
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.83% · Oct 25, 2026
pyjwt is a JSON Web Token implementation in Python. An incorrect string comparison is run for `iss` checking, resulting in `"acb"` being accepted for `"_abc_"`. This is a bug introduced in version 2.10.0: checking the "iss" claim changed from `isinstance(issuer, list)` to `isinstance(issuer, Sequence)`. Since str is a Sequnce, but not a list, `in` is also used for string comparison. This results in `if "abc" not in "__abcd__":` being checked instead of `if "abc" != "__abc__":`. Signature checks are still present so real world impact is likely limited to denial of service scenarios. This issue has been patched in version 2.10.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pyjwt | sid | 2.15.1-1 | not affected |
| Debian | pyjwt | forky | 2.15.1-1 | not affected |
| Debian | pyjwt | trixie | 2.10.1-2+deb13u1 | not affected |
| Debian | pyjwt | trixie-security | 2.10.1-2+deb13u1 | not affected |
| Debian | pyjwt | bookworm | 2.6.0-1+deb12u1 | not affected |
| Debian | pyjwt | bookworm-security | 2.6.0-1+deb12u1 | not affected |
| Suse | python-PyJWT | linux micro 6.1 | 2.12.1-slfo.1.1_1.1 | fixed |
| Opensuse | python-PyJWT | tumbleweed | 2.10.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pyjwt | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | pyjwt | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | pyjwt | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | pyjwt | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Suse | python-PyJWT | rpm | linux micro 6.1 | 2.12.1-slfo.1.1_1.1 | Not reported | SUSE-SU-2026:20879-1 | Not reported |
| Opensuse | python-PyJWT | rpm | tumbleweed | 2.10.1-1.1 | Not reported | OPENSUSE-SU-2024:14540-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-PyJWT]Unknown
Source package: [python-PyJWT]
Details (1)
2.13.0-1.2· noarch · tumbleweedUnknown · Fixed:
2.10.1-1.1Version impact unknown
dsa · python-PyJWT · opensuse · tumbleweed
- [python314-PyJWT]Unknown
Source package: [python-PyJWT]
Details (1)
2.13.0-1.2· noarch · tumbleweedUnknown · Fixed:
2.10.1-1.1Version impact unknown
dsa · python-PyJWT · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-jwt]Not affected
Source package: [pyjwt]
Details (4)
2.6.0-1+deb12u1· all · bookwormNot affected
dsa · pyjwt · debian · bookworm
2.6.0-1+deb12u1· all · bookwormNot affected
dsa · pyjwt · debian · bookworm
2.6.0-1+deb12u1· all · bookworm-securityNot affected
dsa · pyjwt · debian · bookworm
2.6.0-1+deb12u1· all · bookworm-securityNot affected
dsa · pyjwt · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_14540-1.json]
- [https://osv.dev/vulnerability/SUSE-SU-2026:20879-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14540-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-53861]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-53861.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]