Android security tags, read closely by Lightrion

CVE-2025-26435 AI-generated analysis

platform/packages/apps/Settings, security settings (ContentProtectionTogglePreferenceController)

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

The Settings content protection toggle controller now disables its main switch bar when the current user is a guest user, so a guest can no longer flip the content protection switch from that screen.

Root cause

In src/com/android/settings/security/ContentProtectionTogglePreferenceController.java, the switch bar state logic only had an admin-enforcement branch: setDisabledByAdmin(mEnforcedAdmin), under a condition that includes mContentProtectionPolicy != CONTENT_PROTECTION_NOT_CONTROLLED_BY_POLICY. It never checked whether the current user is a guest, so the content protection switch stayed enabled for guest users.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to May 2025 · Findings