Description
react-native-receive-sharing-intent contains a path traversal vulnerability that allows a co-resident malicious application to write files outside the intended cache directory by supplying a crafted _display_name value containing dot-dot path components through a malicious ContentProvider. Attackers can fire an explicit ACTION_SEND intent at the consuming app's exported share-receiver activity to overwrite arbitrary files in the consuming app's private data directory, including databases, shared preferences, and cached configuration, with attacker-controlled content.
Published: 2026-07-02
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The library processes a _display_name field received via a ContentProvider and writes the payload to a cache directory. Because dot‑dot components are not normalised or removed, the component allows a path traversal that enables a malicious co‑resident application to write files outside the intended cache folder. When an attacker crafts an ACTION_SEND intent with a specially‑crafted _display_name and targets the exported share‑receiver activity, arbitrary files in the consuming app’s private data directory—including databases, shared preferences and cached configuration—can be overwritten with attacker‑controlled content. The result is data tampering that can impact application correctness and user data remote code execution is achieved solely through this flaw; the impact is limited to file overwrite.

Affected Systems

The issue exists in the ajith‑ab react‑native‑receive‑sharing‑intent component used within React Native mobile applications. Any app that integrates this component and exposes the share‑receiver activity remains vulnerable. The advisory does not specify a version range, implying that all builds containing the unpatched code are at risk unless the component is updated or the activity is disabled.

Risk and Exploitability

The CVSS score of 7 indicates a high severity, while the EPSS score of < 1% reflects a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a malicious application present on the same device to dispatch the crafted ACTION_SEND intent to the exported share‑receiver activity, making the attack vector local. Based on the advisory, it is inferred that disabling the exported activity or restricting its intent filters can prevent the exploit, and that sanitising the incoming _display_name path components removes the traversal path.

Generated by OpenCVE AI on July 21, 2026 at 10:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade react‑native‑receive‑sharing‑intent to the latest patched release.
  • If a patch is not available, configure the consuming app to set android:exported to false on the share‑receiver activity or otherwise restrict its intent filters to trusted packages.
  • As an interim measure, validate and sanitize incoming _ before performing file writes.

Generated by OpenCVE AI on July 21, 2026 at 10:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Ajith-ab
Ajith-ab react-native-receive-sharing-intent
Vendors & Products Ajith-ab
Ajith-ab react-native-receive-sharing-intent

Mon, 06 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description react-native-receive-sharing-intent contains a path traversal vulnerability that allows a co-resident malicious application to write files outside the intended cache directory by supplying a crafted _display_name value containing dot-dot path components through a malicious ContentProvider. Attackers can fire an explicit ACTION_SEND intent at the consuming app's exported share-receiver activity to overwrite arbitrary files in the consuming app's private data directory, including databases, shared preferences, and cached configuration, with attacker-controlled content.
Title react-native-receive-sharing-intent Path Traversal via _display_name
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Ajith-ab React-native-receive-sharing-intent
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:07.670Z

Reserved: 2026-06-30T20:20:33.789Z

Link: CVE-2026-58460

cve-icon Vulnrichment

Updated: 2026-07-06T14:54:39.864Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:00:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')