CVE-2026-38093

Published Aug 28, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
file_picker (aka flutter_file_picker) for Flutter, all versions through 10.3.10, is vulnerable to path traversal (CWE-22) in its Android implementation. The openFileStream() method in FileUtils.kt uses the DISPLAY_NAME obtained from ContentResolver.query() directly in file path construction without sanitization. A malicious Android app with a crafted ContentProvider can return a filename containing ../ sequences, causing the plugin to create arbitrary files and directories outside the intended cache directory within the victim app's internal storage. Existing files are not overwritten due to an existence check.

Analysis

AI-generated

Technical impact

The vulnerability is a path traversal flaw in the Android implementation of the file_picker plugin. The openFileStream() method uses the DISPLAY_NAME from ContentResolver.query() directly in file path construction without sanitization. A malicious Android app can supply a crafted ContentProvider that returns a filename containing '../' sequences, enabling the plugin to create files and directories outside the intended cache directory inside the victim app’s internal storage. Existing files are not overwritten because an existence check is performed, but the flaw still allows placement of arbitrary files outside the allowed location.

Affected Systems

Flutter applications that use the flutter_file_picker plugin, versions through 10.3.10.

Risk and Exploitability

The CVSS score of 3.3 indicates low severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. An attacker needs a malicious Android app that supplies a custom ContentProvider, and the exploit is local to the device running the victim app. Because the flaw allows the creation of files in the victim app’s internal storage, it could be used to modify data, elevate privileges, or facilitate other attacks if the created files are later processed by the app. This conclusion is inferred from the description of the vulnerability and its impact; the exact extent of operational risk depends on how the victim app uses the files it receives.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the flutter_file_picker plugin to the latest released version when an update that addresses the issue becomes available
  • If upgrading is not immediately possible, restrict the victim app’s ability to receive content from external content providers by tightening the Android manifest permissions and using content URI restrictions
  • Implement an additional layer of validation to ensure that any filename used in file path construction does not contain path traversal characters such as '../' before it is processed by the plugin

Generated by OpenCVE AI on August 28, 2026 at 22:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Miguelpruivo
Miguelpruivo file Picker
Vendors & Products Miguelpruivo
Miguelpruivo file Picker
Type Values Removed Values Added
Title Android File Picker Path Traversal Allowing Creation of Files Outside the Intended Directory
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Android File Picker Path Traversal Allowing Creation of Files Outside the Intended Directory
Weaknesses CWE-22
Type Values Removed Values Added
Description file_picker (aka flutter_file_picker) for Flutter, all versions through 10.3.10, is vulnerable to path traversal (CWE-22) in its Android implementation. The openFileStream() method in FileUtils.kt uses the DISPLAY_NAME obtained from ContentResolver.query() directly in file path construction without sanitization. A malicious Android app with a crafted ContentProvider can return a filename containing ../ sequences, causing the plugin to create arbitrary files and directories outside the intended cache directory within the victim app's internal storage. Existing files are not overwritten due to an existence check.
References
Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 28, 2026, 7:27 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Aug 28, 2026, 4:17 PM
Modified
Sep 9, 2026, 4:04 PM