Android security tags, read closely by Lightrion

CVE-2025-48526 AI-generated analysis

platform/packages/modules/IntentResolver, ChooserActivity (share sheet), cross-profile target resolution

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

ChooserActivity now gives the adapter for the non-launched (cross-profile) profile a sanitized copy of the payload intents instead of the caller's original intents. In the copy, package and component are cleared, and so are the selector's package and component.

Root cause

In ChooserActivity.java, the method that builds the profile pager adapters created the personal and the work ChooserGridAdapter with the same unmodified payload intents (mIntents on Android 14, request.getPayloadIntents() on 15/16). Explicit targeting supplied by the caller (package/component, or a selector carrying them) therefore reached the other profile's adapter unchanged. The 15/16 kdoc on ChooserRequest.crossProfilePayloadIntents says such explicit intents "could otherwise be used to bypass the device's cross-profile sharing policy settings". Only initialIntents were already limited to the launched-as profile; payload intents were not.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2025 · Findings