Android security tags, read closely by Lightrion

CVE-2025-26417 AI-generated analysis

platform/packages/providers/DownloadProvider, DownloadProvider content provider (insert path / destination file validation)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (3 corrections). Verify against the commit before relying on it.

Adds an ownership check to DownloadProvider's insert destination-path validation: if MediaStore already has a record for the target file path, the calling UID must own a package equal to that record's OWNER_PACKAGE_NAME, otherwise a SecurityException is thrown.

Root cause

In src/com/android/providers/downloads/DownloadProvider.java, the insert path validated a caller-supplied destination file via Helpers.checkDestinationFilePathRestrictions (with allowDownloadsDirOnly=true). It did not check whether the target file already existed as a MediaStore record owned by another package. Per the commit message, this let an app access any file in Downloads through the insert method, whichever package owned it. The bulletin classifies this as information disclosure.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2025 · Findings