SecurityContext

CVE-2022-39227: python-jwt - Authentication Bypass

  • Cve: CVE-2022-39227
  • Name: python-jwt - Authentication Bypass
  • 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.
  • Impact: Attackers can forge tokens, leading to identity spoofing, session hijacking, or bypassing authentication mechanisms.
  • Remediation: Upgrade to version 3.3.4 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: privilege_escalation, information_disclosure, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs to obtain a JWT
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.05695
  • Epss percentile: 0.932
  • Assignee: [email protected]
  • Published at: 2022-09-23T07:15:09Z
  • Age in days: 1523
  • Modified at: 2026-06-17T04:57:57Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-39227
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-290Authentication Bypass by Spoofing

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/melikesraoz/cve-2022-39227-jwt-auth-bypass-demo2026-04-27
https://github.com/NoSpaceAvailable/CVE-2022-392272024-03-28
https://github.com/user0x1337/CVE-2022-392272023-06-07

References

Same in every row:

  • Source: nvd
UrlTags
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

Products

ProductAffectedPlatform boundSourcesUrl
python-jwt_project:python-jwt>= 3.0.0, < 3.3.4nonvd/v1/products/python-jwt_project/python-jwt

Projects

RepositoryLink kindsIndexedUrl
davedoesdev/python-jwtcommit, package, security_advisoryyes/v1/repositories/davedoesdev/python-jwt

Index

  • Repositories: 2
  • Repositories high signal: 2
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2023-06-07
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts