# CVE-2022-3102: PYSEC-2026-827 - jwcrypto token substitution can lead to authentication bypass

Source: https://junglewise.ai/threats/cve-2022-3102-jwcrypto-token-substitution-can-lead-to-authentication-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2022-3102 · Severity: info · Published 2026-07-07

jwcrypto token substitution can lead to authentication bypass

Technologies: [jwcrypto (PyPI)](https://junglewise.ai/threats/technologies/jwcrypto). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-3102 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-3102 being exploited in the wild.

**How severe is CVE-2022-3102?** Informational severity, published 7 July 2026.

**Which products and versions are affected?** jwcrypto (PyPI) ECOSYSTEM:introduced=0,fixed=1.4.

**Is there a fix for CVE-2022-3102?** Yes. jwcrypto (PyPI): upgrade to 1.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-3102?** Check whether you run jwcrypto (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- jwcrypto (PyPI): upgrade to 1.4 or later

  ```sh
  pip install "jwcrypto>=1.4"
  ```


## Affected products

- jwcrypto (PyPI) ECOSYSTEM:introduced=0,fixed=1.4

## Identifiers

- CVE-2022-3102
- GHSA-gwp4-mcv4-w95j
- PYSEC-2026-827

## Related threats

- [PYSEC-2026-1484 - JWCrypto vulnerable to JWT bomb Attack in `deserialize` function](https://junglewise.ai/threats/cve-2024-28102-jwcrypto-vulnerable-to-jwt-bomb-attack-in-deserialize-function)
- [Latchset JWCrypto denial of service via memory exhaustion in JWE decompression](https://junglewise.ai/threats/cve-2026-39373-latchset-jwcrypto-denial-of-service-via-memory-exhaustion-in-jwe)
- [DoS with algorithms that use PBKDF2 due to unbounded PBES2 Count value](https://junglewise.ai/threats/cve-2023-6681-dos-with-algorithms-that-use-pbkdf2-due-to-unbounded-pbes2-count)
- [jwcrypto lacks the Random Filling protection mechanism](https://junglewise.ai/threats/cve-2016-6298-jwcrypto-lacks-the-random-filling-protection-mechanism)
