Android security tags, read closely by Lightrion

CVE-2026-55264 AI-generated analysis

platform/packages/providers/DownloadProvider, DownloadProvider insert path for completed downloads (DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD) and Helpers path 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 (5 corrections). Verify against the commit before relying on it.

Makes the addCompletedDownload() ownership check in DownloadProvider fail closed: callers without MANAGE_EXTERNAL_STORAGE (or legacy READ_EXTERNAL_STORAGE) are rejected unless the file is in an app-specific directory of a package of the calling UID or MediaStore (after a synchronous scan) records a package of the calling UID as owner.

Root cause

In DownloadProvider.checkDownloadedFilePath(), the only ownership gate for a file registered via addCompletedDownload() was checkWhetherCallingAppHasAccess(filePath, uid). It queried MediaStore for the path and threw SecurityException only when three things held: a row existed, OWNER_PACKAGE_NAME was non-null, and that package was not among the caller UID's packages. Every other outcome returned silently: no MediaStore row yet (the commit cites race conditions with FUSE), a null owner, a null ContentProviderClient, or a RemoteException. Per the commit message, this let unprivileged apps read arbitrary files in /sdcard/Download/ via addCompletedDownload(). Separately, Helpers.isFilenameValidInExternalPackage() only considered getCallingPackage(), not other packages sharing the calling UID, and returned false on IOException.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings