{"cve":"CVE-2022-39227","nvd":{"published":"2022-09-23T07:15:09.300","modified":"2026-06-17T04:57:57.283","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-290"],"references":["https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9","https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp","https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml","https://www.vicarius.io/vsociety/posts/authentication-bypass-in-python-jwt","https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9"],"products":["python-jwt_project:python-jwt"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-39227","score":0.05342,"percentile":0.92627,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-5p8v-58qm-c7fp","url":"https://osv.dev/vulnerability/GHSA-5p8v-58qm-c7fp","summary":"python-jwt vulnerable to token forgery with new claims","modified":"2024-07-10T21:46:12.326522Z","packages":[{"ecosystem":"PyPI","name":"python-jwt","purl":"pkg:pypi/python-jwt","ranges":["<3.3.4"],"fixed":["3.3.4"]}]},{"id":"PYSEC-2022-259","url":"https://osv.dev/vulnerability/PYSEC-2022-259","summary":"","modified":"2023-11-08T04:10:15.713930Z","packages":[{"ecosystem":"PyPI","name":"python-jwt","purl":"pkg:pypi/python-jwt","ranges":[">=3.0.0 <3.3.4"],"fixed":["3.3.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}