react-native-pure-jwt before 3.1.1 JWT Signature Verification Bypass via alg none
- State
- Published
- Severity
- 9.1 Critical
- Published
- Nov 29, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 29, 2026
Description
react-native-pure-jwt before 3.1.1 on Android contains a signature verification bypass vulnerability that allows unauthenticated attackers to forge tokens because RNPureJwtModule decode() calls JJWT parse() without algorithm pinning. Attackers can craft a token with header alg none and an empty signature to have arbitrary claims accepted as verified, forging identities or roles.
| Product | Versions |
|---|---|
| react-native-pure-jwt zaguiini | before 3.1.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.1 Critical | VulnCheck | |
| 3.1 | 7.4 High | VulnCheck |
Weaknesses
- CWE-347 Improper Verification of Cryptographic Signature
References
- https://github.com/zaguiini/react-native-pure-jwt/commit/5c0d869110f89e9a44b47f5dee372e589e0266ebPatch
- https://github.com/zaguiini/react-native-pure-jwt/blob/v3.1.0/android/src/main/java/com/zaguiini/RNPureJwt/RNPureJwtModule.java#L129-L133Technical Details
- react-native-pure-jwt v3.1.1 Release NotesRelease Notes
- VulnCheck Advisory: react-native-pure-jwt before 3.1.1 JWT Signature Verification Bypass via alg noneThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.