{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-39227","id":"CVE-2022-39227","title":"Python-jwt subject to Authentication Bypass by Spoofing","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 othe","descriptionLong":"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.","published":"2022-09-23T06:55:09.000Z","updated":"2026-10-28T02:31:09.485120155Z","reserved":"2022-09-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["davedoesdev python-jwt"],"affectedProducts":[{"vendor":"davedoesdev","product":"python-jwt","defaultStatus":null,"versions":[{"version":"< 3.3.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"python-jwt","purl":"pkg:pypi/python-jwt","ranges":["<3.3.4",">=3.0.0 <3.3.4"],"fixed":["3.3.4"],"advisory":"GHSA-5p8v-58qm-c7fp"}],"cwes":["CWE-290"],"aliases":["GHSA-5p8v-58qm-c7fp","PYSEC-2022-259"],"references":[{"url":"https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp","tags":["x_transferred","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.vicarius.io/vsociety/posts/authentication-bypass-in-python-jwt","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39227.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39227","tags":["advisory"]},{"url":"https://github.com/davedoesdev/python-jwt/commit/6c5075469847b9e8b6e5336077d989d77a4d2bf1","tags":["web"]},{"url":"https://github.com/davedoesdev/python-jwt","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.05695,"epssPercentile":0.93169,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-39227","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39227","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-39227","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5p8v-58qm-c7fp","ok":true,"note":"GHSA-5p8v-58qm-c7fp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-39227","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}