CVE-2026-138378: zaguiini react-native-pure-jwt
AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.
Summary
On Android, react-native-pure-jwt before 3.1.1 calls JJWT parse() in RNPureJwtModule decode() without pinning the signing algorithm. A token with header alg “none” and an empty signature is accepted as verified, so unauthenticated attackers can forge tokens carrying arbitrary claims such as identities or roles.
Impact: authentication bypass via JWT forgery
Affected technologies
- zaguiini react-native-pure-jwt (Android) before 3.1.1
Recommended action
Upgrade react-native-pure-jwt to 3.1.1 or later, and have backends independently validate tokens with an enforced algorithm allowlist rather than trusting client-side verification.
Details
| CVSS | 9.1 (Critical) |
| Vendor / product | zaguiini react-native-pure-jwt |
| Published | 2026-11-29 |
| Weakness | CWE-347 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Original 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
- NVD record
- https://github.com/zaguiini/react-native-pure-jwt/blob/v3.1.0/android/src/main/java/com/zaguiini/RNPureJwt/RNPureJwtModule.java#L129-L133
- https://github.com/zaguiini/react-native-pure-jwt/commit/5c0d869110f89e9a44b47f5dee372e589e0266eb
- https://github.com/zaguiini/react-native-pure-jwt/releases/tag/v3.1.1
- https://www.vulncheck.com/advisories/react-native-pure-jwt-before-3.1.1-jwt-signature-verification-bypass-via-alg-none