Android security tags, read closely by Lightrion

CVE-2026-58866 AI-generated analysis

platform/frameworks/base, Accessibility (services/accessibility, AccessibilityWindowManager)

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.

Adds a caller-ownership check to AccessibilityWindowManager.setAccessibilityWindowAttributes. Only the UID that owns the target window's accessibility connection (compared after re-homing into the resolved user), or the system UID, can now set that window's accessibility title and locale attributes.

Root cause

AccessibilityWindowManager.setAccessibilityWindowAttributes took a caller-supplied integer windowId. After resolving the user id via mSecurityPolicy.resolveCallingUserIdEnforcingPermissionsLocked, it only checked that a window token existed for that windowId (getWindowTokenForUserAndWindowIdLocked != null). It never compared the calling UID with the UID that owns the window. It then stored the attributes in mWindowAttributes and, if the window info was found, triggered computeWindowsForAccessibility. The entry point AccessibilityManagerService.setAccessibilityWindowAttributes is annotated @RequiresNoPermission and simply forwards to the window manager (per index search). Per the commit message, a malicious app could therefore overwrite the accessibility title and locale of another window by guessing its windowId.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings