# CVE-2024-54462: Unsanitized Filenames in Flutter package image_picker_android Allow File Overwrites

- Severity: Low 2.1 (CVSS:4.0, scored by Google) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-01-29T11:52:05.386Z
- Modified: 2026-06-17T08:10:23.583Z
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

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

(As written by CVE List.)

## Affected

- Flutter image_picker_android: from 0.8.5+6 up to 0.8.12+17; from 0.8.5\+6 before 0.8.12\+18

## Every score

- Google: CVSS:4.0 2.1 Low `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`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://github.com/flutter/packages/security/advisories/GHSA-98v2-f47x-89xw> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-54462](https://www.cve.org/CVERecord?id=CVE-2024-54462), CVE Terms of Use, modified 2025-02-12
- NVD: [CVE-2024-54462](https://nvd.nist.gov/vuln/detail/CVE-2024-54462), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-54462 · Whole record: https://cve.day/CVE-2024-54462.json · Rebuilt by cve.day 2026-11-25T22:58:51.287Z
