Skip to main content

react-native-receive-sharing-intent CVE-2026-58460

| EUVDEUVD-2026-41437 HIGH
Path Traversal (CWE-22)
2026-07-02 VulnCheck GHSA-5jfq-87w9-9824
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Install malicious co-resident app
  2. Delivery
    Register malicious ContentProvider with crafted _display_name
  3. Exploit
    Fire explicit ACTION_SEND at exported share activity
  4. Execution
    Library joins dot-dot name onto cache path
  5. Persist
    Write attacker content outside cache
  6. Impact
    Overwrite victim private databases/prefs

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a second attacker-controlled application co-resident on the same Android device and the victim app must integrate react-native-receive-sharing-intent with an exported share-receiver activity that accepts ACTION_SEND intents (the default integration pattern). The attacker must supply the file via a malicious ContentProvider returning a crafted _display_name containing dot-dot path components. Limiting factors: exploitation is local only (AV:L) - there is no remote/network path - and it depends on the victim app actually shipping the vulnerable library and exposing the share intent; no user interaction or authentication is required once the malicious app is installed.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N, VC:N/VI:H/VA:H, score 7.0) frames this as a local, low-complexity, no-privilege, no-interaction attack with high integrity and availability impact and no confidentiality loss - consistent with an on-device malicious app overwriting files rather than reading them. AV:L is the key limiter: exploitation requires a second malicious app already installed on the same device, so this is not remotely reachable and not mass-exploitable, which is why it is a targeted/local-privilege-style issue rather than an internet-facing emergency. Public POC/exploit code raises practical risk, but the absence of a KEV listing and the local attack surface mean real-world urgency is moderate and scoped to devices running an app that bundles the vulnerable library. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here.

Exploit ScenarioDerived

A user installs both a legitimate app that uses react-native-receive-sharing-intent and an attacker's app; the attacker's app fires an explicit ACTION_SEND intent at the victim's exported share-receiver activity, backing the shared item with a malicious ContentProvider that returns a _display_name like '../databases/users.db'. The library copies attacker content to that traversal path, overwriting the victim app's database or shared preferences with attacker-controlled data. Public exploit code demonstrating this is available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

Arbitrary file overwrite in the react-native-receive-sharing-intent library (ajith-ab) lets a co-resident malicious Android app write attacker-controlled content outside the intended cache directory into the consuming app's private data. The flaw stems from trusting a ContentProvider-supplied _display_name containing dot-dot sequences, enabling overwrite of databases, shared preferences, and cached config. Publicly available exploit code exists (reported by VulnCheck); no active exploitation has been reported in CISA KEV.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change from https://github.com/ajith-ab/react-native-receive-sharing-intent/pull/192 by upgrading to a build that includes it once published, or vendoring the patched file-copy logic. Because the references point to a GitHub PR rather than a tagged npm release, verify the installed version incorporates the fix rather than relying on a version number. As a compensating control in application code, sanitize the ContentProvider-supplied _display_name before use: strip path separators and dot-dot components and force the cached filename to basename only (e.g. reject or replace any name containing '/' or '..'), and write into a canonicalized cache path validated to remain within the intended directory - the trade-off is minor changes to how shared filenames are displayed. Additionally, ensure the share-receiver activity is not more broadly exported than necessary, accepting that restricting exported=true intent filters may break legitimate cross-app sharing. Reference the VulnCheck advisory for details: https://www.vulncheck.com/advisories/react-native-receive-sharing-intent-path-traversal-via-display-name.

Affected VersionsENISA

react-native-receive-sharing-intent 0 ≤b375726ee9e8f67db116ab8e2b204b2e524aa917

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The library provides React Native apps an Android share-target integration, resolving incoming ACTION_SEND intents and copying the referenced content into a local cache directory. To name the cached copy it queries the sending ContentProvider for the OpenableColumns _display_name value and joins it directly onto the cache path. Because the display name is fully attacker-controlled and is not sanitized or canonicalized, a value such as '../../databases/app.db' escapes the cache directory - the classic CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') root cause. Affected code is the JavaScript/Kotlin file-copy path in cpe:2.3:a:ajith-ab:react-native-receive-sharing-intent, exploitable because Android grants the receiving app write access to its own sandbox, so a traversal path resolves against the victim app's private data directory.

Know when React Native Receive Sharing Intent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.0 HIGH
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
vuln.today AI 7.7 HIGH

Requires a local co-resident malicious app (AV:L) but no privileges or interaction (PR:N/UI:N); arbitrary file overwrite gives high integrity and availability impact with no confidentiality loss.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The react-native-receive-sharing-intent library contains an arbitrary file overwrite vulnerability allowing co-resident Android applications to corrupt or modify sensitive data-including databases, stored credentials, and configuration files-in consuming applications. Any mobile app using this library exposes user data and app integrity to local attack, with no vendor patch currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Remove the library and replace with a maintained alternative; (2) Implement strict validation of ContentProvider-supplied filenames, rejecting path traversal sequences (dot-dot paths) and absolute paths before file operations; (3) Enforce restrictive file permissions on app private data directories; (4) Deploy file integrity monitoring for sensitive data stores (databases, preferences); (5) Restrict side-loading or installation of untrusted co-resident apps via MDM policies where deployment model permits.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche React Native share-intent plugin, limited per-app footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

55
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy