CVE-2022-39227
Versions prior to 3.3.4 are subject to Authentication Bypass by Spoofing, resulting in identity spoofing, session hijacking or authentication bypass.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.34%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
python-jwt is a module for generating and verifying JSON Web Tokens. Versions prior to 3.3.4 are subject to Authentication Bypass by Spoofing, resulting in identity spoofing, session hijacking or authentication bypass. An attacker who obtains a JWT can arbitrarily forge its contents without knowing the secret key. Depending on the application, this may for example enable the attacker to spoof other user's identities, hijack their sessions, or bypass authentication. Users should upgrade to version 3.3.4. There are no known workarounds.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 5.34% probability · 93th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-290
- Affected
- python-jwt project/python-jwt
- Source
- security-advisories@github.com
EPSS moved from 5.4% on 20 September 2026 to 5.3% on 26 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
References
- https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9Patch
- https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fpPatch, Third Party Advisory
- https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yamlThird Party Advisory
- https://www.vicarius.io/vsociety/posts/authentication-bypass-in-python-jwt
- https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9Patch
- https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fpPatch, Third Party Advisory
- https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yamlThird Party Advisory
- https://www.vicarius.io/vsociety/posts/authentication-bypass-in-python-jwt
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.