React Native Pure JWT signature bypass in Android JWT verification
Only the Android build of react-native-pure-jwt before 3.1.1 is affected, and the fix is in 3.1.1.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.1.1
- Who is exposed
- Not reported
Summary
On Android, react-native-pure-jwt has a signature verification bypass that lets remote, unauthenticated attackers forge tokens. By setting the algorithm to "none" with an empty signature, attackers can have arbitrary claims accepted as verified, which allows them to forge identities or roles.
Written by a model
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.
Who should check
Teams shipping react-native-pure-jwt before 3.1.1 in React Native apps on Android that verify JWTs with decode().
“react-native-pure-jwt before 3.1.1 on Android”
What to do
Upgrade to a fixed version: 3.1.1.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138378 (react-native-pure-jwt before 3.1.1 JWT Signature Verification Bypass via alg none), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138378 (entry last updated 2026-11-29):
Affected:
- npm package react-native-pure-jwt: fixed in 3.1.1
Fixed versions: 3.1.1.
Conditions (all must be true for the bug to be hit):
- Affects the Android build of react-native-pure-jwt before 3.1.1. (source: https://www.vulncheck.com/advisories/react-native-pure-jwt-before-3.1.1-jwt-signature-verification-bypass-via-alg-none)
- iOS already rejected these tokens, so the bug is Android-specific. (source: https://github.com/zaguiini/react-native-pure-jwt/commit/5c0d869110f89e9a44b47f5dee372e589e0266eb)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-138378 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138378 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zaguiini/react-native-pure-jwt/commit/5c0d869110f89e9a44b47f5dee372e589e0266eb
- 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/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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138378
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138378"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach10/20Affects npm packages
- Severity9.1/10CVSS 9.1
- No patch0/5No signal
What would change the score
- Would score about 81 if added to CISA KEV
- Would score about 76 if CISA's SSVC rates exploitation active
- Would score about 41 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138378 |
| Record | NVD · CVE-2026-138378 |
| Other links 4 | |
| Patch | GitHub · zaguiini/react-native-pure-jwt · Commit 5c0d8691 |
| Repository | GitHub · zaguiini/react-native-pure-jwt · android/src/main/java/com/zaguiini/RNPureJwt/RNPureJwtModule.java · L129-L133 |
| Repository | GitHub · zaguiini/react-native-pure-jwt · Release v3.1.1 |
| Link | vulncheck.com · advisories/react-native-pure-jwt-before-3.1.1-jwt-signature-verification-bypass-via-alg-none |
Questions about CVE-2026-138378
Is CVE-2026-138378 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A signature verification bypass lets an attacker forge tokens with arbitrary claims that are accepted as verified. This enables identity or role forgery.
Source: vulncheck.com, github.com
Which versions are affected by CVE-2026-138378?
react-native-pure-jwt (npm): before 3.1.1.
Source: cve.now feed data
Am I affected, and how do I check?
The bug affects the Android build of react-native-pure-jwt before 3.1.1. The iOS build already rejected these tokens. To check, look at the react-native-pure-jwt version in the project's package.json or installed dependencies, and confirm whether the app runs on Android.
Source: vulncheck.com, github.com
How do I fix CVE-2026-138378?
Upgrade react-native-pure-jwt to version 3.1.1 or later.
Source: vulncheck.com, github.com
Related
- CVE-2026-135388Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation
- CVE-2026-124286TLS 1.2 Client Completes Handshake Without a Server Certificate
- CVE-2026-124981A vulnerability has been identified in Mendix OIDC Provider (Mendix 10 compatible) (All versions < V6.0.0), Mendix OIDC Provider (Mendix…
- CVE-2026-135446Bold pagos en linea before 3.5.1 Payment Bypass via Webhook Signature
- CVE-2026-123682An authenticated remote code execution vulnerability exists in the update functionality of StellarOne due to insufficient validation of…
- CVE-2026-123680An authenticated remote code execution vulnerability exists in the firmware update functionality of StellarOne.
No corrections so far. Something wrong on this page? Report an error.