Android security tags, read closely by Lightrion

CVE-2026-0035 AI-generated analysis

platform/packages/providers/MediaProvider, MediaStore createRequest (PermissionActivity request creation)

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 (4 corrections). Verify against the commit before relying on it.

MediaProvider now rejects MediaStore CREATE_WRITE/DELETE/..._REQUEST calls with an IllegalArgumentException when any requested URI does not resolve to exactly one existing row at request time.

Root cause

In src/com/android/providers/media/MediaProvider.java, the code path that builds the PermissionActivity Intent for the MediaStore CREATE_*_REQUEST methods (createWriteRequest, createDeleteRequest, etc.) took the caller-supplied list of URIs and built the request without checking that each URI referred to an existing item. A caller could therefore obtain a request for a media URI that did not exist in the Files table at the time of the call. Before the fix, testCreateRequest asserted success for a non-existent id (42), which confirms the old behavior.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2026 · Findings