Android security tags, read closely by Lightrion

CVE-2026-45519 AI-generated analysis

platform/packages/providers/MediaProvider, photopicker (PickerUriResolver / preselection URI handling)

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.

Adds structural, scheme, authority and user-ID validation of caller-supplied photopicker preselection URIs (EXTRA_PICKER_PRE_SELECTION_URIS) in PickerUriResolver.processUrisForSelection before they are used to build the picker database query.

Root cause

PickerUriResolver.processUrisForSelection parsed each string in the preselection list (QUERY_ID_SELECTION) with Uri.parse and relied only on checkUriPermission(uri, -1, callingUid) before adding it to accessibleUris, whose IDs then feed the picker DB query selection. Nothing checked that the URI used the content scheme, the MediaStore.AUTHORITY authority, or a valid picker path shape (content://media/picker/<user-id>/<authority>/media/<id>, per the 16/17 tests). Nothing checked that the user ID encoded in the URI matched the user the picker runs as (UserHandle.myUserId()). A URI with a foreign user ID or an unexpected structure could therefore be accepted, and the commit message describes the result as a data mismatch during database queries (the bulletin classifies the issue as information disclosure).

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2026 · Findings