Skip to content
Access control Advisory Intermediate CVE-2026-20642

Photos: A person with physical access to an iOS device may be able to access photos from the lock screen (CVE-2026-20642)

An input validation flaw in the Photos feature on iOS allowed someone holding an unlocked-but-locked device to reach photos from the lock screen. An attacker with physical access to the device could therefore view photos that should have stayed behind the lock screen.

Dalibor Milanovic Follow

Originally disclosed on Apple

Impact: A person with physical access to an iOS device may be able to access photos from the lock screen

Description: An input validation issue was addressed.

Available for: iPhone 11 and later, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 8th generation and later, and iPad mini 5th generation and later

The original report as published on Apple's security release notes, by Dalibor Milanovic. Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an input validation weakness in the Photos lock-screen handling that failed to properly restrict access to photo content while the device was locked.

What the attacker needed

Physical access to the device; device left locked

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a phone is locked, the lock screen is meant to stop anyone picking it up from seeing your private data. Here, a mistake in how the Photos feature checked what it was given let someone bypass that barrier and open photos without unlocking the phone. The only requirement is that the person is physically holding the device.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Dalibor Milanovic

View all

4 more disclosed reports, best first.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.