Android security tags, read closely by Lightrion

CVE-2026-0023 AI-generated analysis

platform/frameworks/base, PackageManager / PackageInstallerService (install session 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.

In PackageInstallerService.java, the session creation path now always clears PackageManager.INSTALL_FROM_MANAGED_USER_OR_PROFILE from the caller-supplied params.installFlags, then adds it back only when DevicePolicyManagerInternal.isUserOrganizationManaged(userId) is true.

Root cause

When creating an install session, PackageInstallerService took params.installFlags as supplied by the caller. It only ORed in INSTALL_FROM_MANAGED_USER_OR_PROFILE when dpmi.isUserOrganizationManaged(userId) was true and never cleared the bit otherwise. A caller that pre-set the flag in its SessionParams therefore had it carried into the PackageInstallerSession even when the install was not from a managed user or profile. The commit message says this could lead to unexpected behaviour.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2026 · Findings