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
| Id | Name |
|---|---|
| CWE-290 | Authentication Bypass by Spoofing |
Public exploits
Same in every row:
- Source: poc-in-github
| Url | Added date |
|---|---|
| https://github.com/melikesraoz/cve-2022-39227-jwt-auth-bypass-demo | 2026-04-27 |
| https://github.com/NoSpaceAvailable/CVE-2022-39227 | 2024-03-28 |
| https://github.com/user0x1337/CVE-2022-39227 | 2023-06-07 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python-jwt_project:python-jwt | >= 3.0.0, < 3.3.4 | no | nvd | /v1/products/python-jwt_project/python-jwt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| davedoesdev/python-jwt | commit, package, security_advisory | yes | /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