{"api_version":"1","generated_at":"2026-07-23T18:58:51+00:00","cve":"CVE-2022-39227","urls":{"html":"https://cve.report/CVE-2022-39227","api":"https://cve.report/api/cve/CVE-2022-39227.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39227","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39227"},"summary":{"title":"CVE-2022-39227","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-09-23 07:15:00","updated_at":"2023-03-04 01:43:00"},"problem_types":["CWE-290"],"metrics":[],"references":[{"url":"https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9","name":"https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9","refsource":"MISC","tags":[],"title":"FIX VULNERABILITY · davedoesdev/python-jwt@88ad9e6 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp","name":"https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp","refsource":"CONFIRM","tags":[],"title":"Token forgery with new claims · Advisory · davedoesdev/python-jwt · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml","name":"https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml","refsource":"MISC","tags":[],"title":"advisory-database/PYSEC-2022-259.yaml at main · pypa/advisory-database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39227","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39227","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39227","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python-jwt_project","cpe5":"python-jwt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-39227","qid":"904058","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (11037)"},{"cve":"CVE-2022-39227","qid":"904061","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (11032)"},{"cve":"CVE-2022-39227","qid":"904806","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (11037-1)"},{"cve":"CVE-2022-39227","qid":"906065","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (11037-2)"},{"cve":"CVE-2022-39227","qid":"906254","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-jwt (11032-2)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39227","STATE":"PUBLIC","TITLE":"Python-jwt subject to Authentication Bypass by Spoofing"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"python-jwt","version":{"version_data":[{"version_value":"< 3.3.4"}]}}]},"vendor_name":"davedoesdev"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-290: Authentication Bypass by Spoofing"}]}]},"references":{"reference_data":[{"name":"https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp","refsource":"CONFIRM","url":"https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp"},{"name":"https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9","refsource":"MISC","url":"https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9"},{"name":"https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml","refsource":"MISC","url":"https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml"}]},"source":{"advisory":"GHSA-5p8v-58qm-c7fp","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-09-23 07:15:00","lastModifiedDate":"2023-03-04 01:43:00","problem_types":["CWE-290"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python-jwt_project:python-jwt:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.3.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}