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.
References
- www.cve.org/CVERecord ↗
- nvd.nist.gov/vuln/detail/CVE-2026-138378 ↗
- github.com/zaguiini/react-native-pure-jwt/blob/v3.1.0/android/src/main/java/com/zaguiini/RNPureJwt/RNPureJwtModule.java ↗
- github.com/zaguiini/react-native-pure-jwt/commit/5c0d869110f89e9a44b47f5dee372e589e0266eb ↗
- github.com/zaguiini/react-native-pure-jwt/releases/tag/v3.1.1 ↗
- www.vulncheck.com/advisories/react-native-pure-jwt-before-3.1.1-jwt-signature-verification-bypass-via-alg-none ↗
Related CVEs
← CVE Index: search every CVE from the last 30 days
This product uses the NVD API but is not endorsed or certified by the NVD. CVSS scores do not establish exploitation.