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.
Published: 2026-08-28
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 28 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
Title Android File Picker Path Traversal Allowing Creation of Files Outside the Intended Directory

Fri, 28 Aug 2026 20:30:00 +0000

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'}


Fri, 28 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Title Android File Picker Path Traversal Allowing Creation of Files Outside the Intended Directory
Weaknesses CWE-22

Fri, 28 Aug 2026 15:30:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-28T19:27:21.385Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-38093

cve-icon Vulnrichment

Updated: 2026-08-28T19:27:12.105Z

cve-icon NVD

Status : Received

Published: 2026-08-28T16:17:46.793

Modified: 2026-08-28T20:17:27.200

Link: CVE-2026-38093

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T23:00:14Z

Weaknesses
  • CWE-22

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