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

react‑native‑receive‑sharing‑intent includes a path‑traversal vulnerability (CWE‑22) that allows a malicious application installed on the same device to write files outside the intended cache directory by providing a crafted _display_name containing dot‑dot sequences through a ContentProvider. When a ACTION_SEND intent is sent to the consumer app’s exported share‑receiver activity, the component normalises the supplied display name and writes the content to the resulting path. Because the normalisation does not resolve traversal components, attackers can target any file inside the consumer app’s private data directory, overwriting databases, shared preferences, or configuration files with arbitrary content.

Affected Systems

Any React Native mobile application that includes the ajith‑ab react‑native‑receive‑sharing‑intent module and exposes an exported share‑receiver activity is vulnerable. The module has not yet released a patched version that sanitises the _display_name input, so all builds containing the unmodified code remain at risk until the module is updated or the export is disabled.

Risk and Exploitability

The CVSS score of 7 categorises this flaw as high severity, while the EPSS score of < 1% suggests a low probability of real‑world exploitation. The vulnerability does not provide remote code execution; exploitation requires a malicious app on the same device to dispatch a crafted ACTION_SEND intent to the exported activity, which is therefore a local attack vector. Until a patch or mitigation is applied, the flaw can lead to serious data tampering and loss of confidentiality and integrity, particularly for sensitive app data such as user credentials or cached state.

Generated by OpenCVE AI on August 3, 2026 at 05:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the react‑native‑receive‑sharing‑intent module to a version that contains the path‑traversal fix.
  • If an update is not immediately available, configure the consuming app to set android:exported="false" on the share‑receiver activity or restrict its intent filters so that only trusted packages can target it.
  • Add application‑level validation that removes or normalises any ".." components from the _display_name before performing any file write.

Generated by OpenCVE AI on August 3, 2026 at 05:34 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

Status : Deferred

Published: 2026-07-02T21:16:57.080

Modified: 2026-07-14T23:17:30.940

Link: CVE-2026-58460

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T05:45:03Z

Weaknesses
  • CWE-22

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