CVE-2024-25466: n/a
Directory Traversal vulnerability in React Native Document Picker before v.9.1.1 and fixed in v.9.1.1 allows a local attacker to execute arbitrary code via a crafted script to the Android library component.
AI Analysis
Technical Summary
CVE-2024-25466 is a directory traversal vulnerability identified in the React Native Document Picker library before version 9.1.1. This vulnerability arises from improper validation of file paths within the Android library component, allowing a local attacker to craft a malicious script that exploits directory traversal to execute arbitrary code on the affected device. The flaw is classified under CWE-26 (Improper Handling of a Special Element in Input), indicating that the input path is not properly sanitized, enabling traversal outside the intended directory boundaries. Exploitation requires local access to the device and user interaction, such as opening or interacting with a crafted document picker interface. The vulnerability affects confidentiality by potentially exposing sensitive files, integrity by allowing unauthorized code execution, and availability by enabling disruptive actions. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H) reflects that the attack vector is local, with low attack complexity, no privileges required, but user interaction needed, and impacts multiple security properties. The issue was addressed and fixed in React Native Document Picker version 9.1.1, but no public exploit code or widespread exploitation has been reported to date.
Potential Impact
The vulnerability poses a significant risk to organizations developing or deploying mobile applications using the React Native Document Picker library on Android platforms. Successful exploitation can lead to arbitrary code execution, potentially allowing attackers to access sensitive data, manipulate application behavior, or disrupt service availability. This can compromise user data confidentiality and application integrity, leading to data breaches, unauthorized access, or denial of service conditions. Since the vulnerability requires local access and user interaction, the threat is more pronounced in environments where devices are shared, physically accessible, or where users might be tricked into interacting with malicious content. Enterprises relying on mobile apps for sensitive operations, such as financial services, healthcare, or enterprise communications, face elevated risks. Additionally, developers who integrate this library without timely updates may inadvertently expose their applications and users to these risks.
Mitigation Recommendations
To mitigate this vulnerability, organizations and developers should immediately update the React Native Document Picker library to version 9.1.1 or later, where the issue is fixed. Avoid using outdated versions in production environments. Implement strict input validation and sanitization for file paths within custom components interacting with document pickers. Employ runtime application self-protection (RASP) mechanisms to detect and block suspicious file system access patterns. Educate users to avoid interacting with untrusted or suspicious document picker dialogs or files, especially from unknown sources. For environments with shared device usage, enforce strong access controls and device security policies to limit local attacker opportunities. Conduct regular security audits and penetration testing focused on mobile app components handling file operations. Monitor for any emerging exploit code or reports related to this CVE to respond promptly.
Affected Countries
United States, India, China, Germany, United Kingdom, Brazil, Japan, South Korea, France, Canada
CVE-2024-25466: n/a
Description
Directory Traversal vulnerability in React Native Document Picker before v.9.1.1 and fixed in v.9.1.1 allows a local attacker to execute arbitrary code via a crafted script to the Android library component.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-25466 is a directory traversal vulnerability identified in the React Native Document Picker library before version 9.1.1. This vulnerability arises from improper validation of file paths within the Android library component, allowing a local attacker to craft a malicious script that exploits directory traversal to execute arbitrary code on the affected device. The flaw is classified under CWE-26 (Improper Handling of a Special Element in Input), indicating that the input path is not properly sanitized, enabling traversal outside the intended directory boundaries. Exploitation requires local access to the device and user interaction, such as opening or interacting with a crafted document picker interface. The vulnerability affects confidentiality by potentially exposing sensitive files, integrity by allowing unauthorized code execution, and availability by enabling disruptive actions. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H) reflects that the attack vector is local, with low attack complexity, no privileges required, but user interaction needed, and impacts multiple security properties. The issue was addressed and fixed in React Native Document Picker version 9.1.1, but no public exploit code or widespread exploitation has been reported to date.
Potential Impact
The vulnerability poses a significant risk to organizations developing or deploying mobile applications using the React Native Document Picker library on Android platforms. Successful exploitation can lead to arbitrary code execution, potentially allowing attackers to access sensitive data, manipulate application behavior, or disrupt service availability. This can compromise user data confidentiality and application integrity, leading to data breaches, unauthorized access, or denial of service conditions. Since the vulnerability requires local access and user interaction, the threat is more pronounced in environments where devices are shared, physically accessible, or where users might be tricked into interacting with malicious content. Enterprises relying on mobile apps for sensitive operations, such as financial services, healthcare, or enterprise communications, face elevated risks. Additionally, developers who integrate this library without timely updates may inadvertently expose their applications and users to these risks.
Mitigation Recommendations
To mitigate this vulnerability, organizations and developers should immediately update the React Native Document Picker library to version 9.1.1 or later, where the issue is fixed. Avoid using outdated versions in production environments. Implement strict input validation and sanitization for file paths within custom components interacting with document pickers. Employ runtime application self-protection (RASP) mechanisms to detect and block suspicious file system access patterns. Educate users to avoid interacting with untrusted or suspicious document picker dialogs or files, especially from unknown sources. For environments with shared device usage, enforce strong access controls and device security policies to limit local attacker opportunities. Conduct regular security audits and penetration testing focused on mobile app components handling file operations. Monitor for any emerging exploit code or reports related to this CVE to respond promptly.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- mitre
- Date Reserved
- 2024-02-07T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d68b7ef31ef0b571eef
Added to database: 2/25/2026, 9:45:12 PM
Last enriched: 2/26/2026, 10:38:06 AM
Last updated: 4/12/2026, 6:16:55 PM
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.