Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInstall malicious co-resident app
-
DeliveryRegister malicious ContentProvider with crafted _display_name
-
ExploitFire explicit ACTION_SEND at exported share activity
-
ExecutionLibrary joins dot-dot name onto cache path
-
PersistWrite attacker content outside cache
-
ImpactOverwrite 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-41437
GHSA-5jfq-87w9-9824
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB