Android security tags, read closely by Lightrion

CVE-2025-48580 AI-generated analysis

platform/frameworks/base, media framework (android.media.browse.MediaBrowser / android.service.media.MediaBrowserService)

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.

MediaBrowser no longer always binds to a MediaBrowserService with Context.BIND_INCLUDE_CAPABILITIES; the flag is dropped when the root hints contain the new hidden key BrowserRoot.EXTRA_EXCLUDE_CAPABILITIES or the existing key BrowserRoot.EXTRA_RECENT.

Root cause

In media/java/android/media/browse/MediaBrowser.java the bind made during connection was hard-coded as mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE | Context.BIND_INCLUDE_CAPABILITIES). BIND_INCLUDE_CAPABILITIES makes the bound service inherit the binding process's capabilities (general platform knowledge). Because the flag was always set, every MediaBrowser connection passed the client's capabilities to the targeted MediaBrowserService, and the client had no way to opt out. This included the one-off EXTRA_RECENT query of recent playback described in the commit message.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings