Android security tags, read closely by Lightrion

CVE-2026-28588 AI-generated analysis

platform/frameworks/base, packages/ExternalStorageProvider (Storage Access Framework external storage provider)

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

ExternalStorageProvider.shouldBlockDirectoryFromTree now NFD-normalizes the document path and strips default-ignorable Unicode code points before comparing it against the storage root, Download and Android directory names, so names padded with invisible characters can no longer slip past the block list.

Root cause

In packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java, shouldBlockDirectoryFromTree(documentId) derived a path via getPathFromDocId and then checked path.isEmpty() (storage root) and equalIgnoringCase(path, Environment.DIRECTORY_DOWNLOADS / DIRECTORY_ANDROID). equalIgnoringCase only lower-cases with Locale.ROOT and does an exact TextUtils.equals. A path containing default-ignorable Unicode code points (for example a zero-width space, as in the added test cases "Android\u200B" and "Download\u200B") therefore did not match the blocked names. The fix's own Javadoc says the lower file system ignores such characters. As a result, the block check for tree access to the root, Download and Android directories could be bypassed by a name that differed only in invisible characters.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings