Android security tags, read closely by Lightrion

CVE-2026-58962 AI-generated analysis

platform/frameworks/base, WindowManager / ActivityTaskManagerService (services/core/java/com/android/server/wm)

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

In ActivityTaskManagerService.moveTaskToFront, before applying caller-supplied ActivityOptions to a task being moved to the front, the fix now iterates every ActivityRecord in the task and calls options.getOptions(r) so the options' permission checks (per the commit message, display permissions) are evaluated against each activity, throwing SecurityException if any fails.

Root cause

In services/core/java/com/android/server/wm/ActivityTaskManagerService.java (the moveTaskToFront path, identified by the "moveTaskToFront" reason string passed to mTaskSupervisor.findTaskToMoveToFront), caller-supplied SafeActivityOptions were converted with options.getOptions(mTaskSupervisor) only. That overload is not tied to any specific ActivityRecord, so the per-activity checks that SafeActivityOptions performs when given an ActivityRecord (the commit message calls them display permission checks) were not run for the activities in the task being moved. A caller could therefore have options applied to a task containing activities for which it would not pass those checks.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings