External risk intelligence

react-native-pure-jwt Android Signature Verification Bypass CVE-2026-138378

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-138378

This vulnerability exists within a React Native library used for client-side mobile application development. It affects the internal token verification logic within the application code itself, not an internet-facing service, gateway, or network appliance. As a client-side component, it lacks direct public internet exposure.

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability has been identified in a component used for mobile application development that could allow attackers to bypass signature verification for tokens, potentially leading to unauthorized claims being accepted. The main concern is confirming relevance and exposure.

  • Bypass token verification to forge identities.
  • Attackers can impersonate users or roles.
  • Confirm if this library is in use.

Attack Path

How an attacker could exploit the issue

An attacker can forge JSON Web Tokens (JWTs) by exploiting a bypass in signature verification within the `react-native-pure-jwt` library. This occurs because the library's `decode()` function does not properly enforce algorithm constraints when parsing tokens, allowing an attacker to craft a token with a "none" algorithm and an empty signature. Successfully forging a token can lead to unauthorized access by impersonating legitimate users or gaining elevated privileges.

  • No special access required.
  • Crafting a token with `alg: none`.
  • Forging identities or roles.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow unauthenticated attackers to forge tokens, potentially leading to unauthorized access to features or data by impersonating legitimate users. This is possible when the affected library's decode function fails to properly pin the signing algorithm, enabling attackers to bypass signature verification with a specially crafted token.

  • Forged identity or roles
  • Bypass signature verification
  • Unauthorized access to features

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability resides in a client-side library for mobile applications, meaning the immediate impact is on the application's integrity rather than directly exposed infrastructure. Application owners and mobile development teams are primarily responsible for identifying where this library is used, assessing the risk of forged tokens affecting user authentication or authorization, and coordinating the update.

  • Application owners should own the issue.
  • Verify library usage and reachability.
  • Plan and deploy updated library.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is react-native-pure-jwt?

It is a software library designed for mobile application developers using React Native. It provides tools to handle JSON Web Tokens (JWTs), which are standard digital credentials used to securely transmit information or user identity between a mobile app and a backend system.

What does CVE-2026-138378 mean for token security?

This vulnerability involves Improper Verification of Cryptographic Signature (CWE-347). Because the library fails to enforce specific security algorithms when decoding tokens, it can be tricked into accepting forged credentials as legitimate, allowing unauthorized access.

How can an attacker trigger this vulnerability?

An attacker must supply a specifically malformed token where the header specifies the 'none' algorithm and the signature field is empty. Simply having the library installed does not trigger the flaw; the library must actively process this crafted token during its decode routine.

Who should be concerned about this flaw?

Mobile development teams managing applications that utilize this library for authentication should investigate. According to Halo Surface Signal, because this is a client-side component rather than an internet-facing gateway, the risk is contained within the application's local logic.

What is the first step to fix this?

Identify where your applications depend on this specific library. Once usage is confirmed, developers should update to version 3.1.1 or later, which addresses the lack of algorithm pinning that enables these forged tokens.

References