macOS 'Quick Look' Bug Can Leak Encrypted Data Through Thumbnail Caches - MacRumors
Skip to Content

macOS 'Quick Look' Bug Can Leak Encrypted Data Through Thumbnail Caches

A long-standing bug in macOS's Quick Look feature has the potential to expose sensitive user files like photo thumbnails and the text of documents, even on encrypted drives, according to security researchers.

Details on the Quick Look flaw were shared earlier this month by security researcher Wojciech Regula and over the weekend on security researcher Patrick Wardle's blog (via The Hacker News).

quicklookbug

Image via Wojciech Regula

Quick Look in macOS is a convenient Finder feature that's designed to present a zoomed-in view when you press the space bar on a photo or document that's selected.

To provide this preview functionality, Quick Look creates an unencrypted thumbnail database where thumbnails of files are kept, with the database storing file previews from a Mac's storage and any attached USB drives whenever a folder is opened. These thumbnails, which provide previews of content on an encrypted drive, can be accessed by someone with the technical know how and there's no automatic cache clearing that deletes them. As Regula explains:

It means that all photos that you have previewed using space (or Quicklook cached them independently) are stored in that directory as a miniature and its path. They stay there even if you delete these files or if you have previewed them in encrypted HDD or TrueCrypt/VeraCrypt container.

This is an issue that's existed for at least eight years and concerns have been raised about it in the past, but Apple has made no changes in macOS to address it. "The fact that behavior is still present in the latest version of macOS, and (though potentially having serious privacy implications), is not widely known by Mac users, warrants additional discussion," writes Wardle.

As Wardle points out, this information is valuable in law enforcement investigations, but most users are not going to be happy to learn that their Mac records file paths and thumbnails of documents from every storage device that's been attached to it.

For a forensics investigation or surveillance implant, this information could prove invaluable. Imagine having a historic record of the USB devices, files on the devices, and even thumbnails of the files...all stored persistently in an unencrypted database, long after the USB devices have been removed (and perhaps destroyed). For users, the question is: "Do you really want your Mac recording the file paths and 'previews' thumbnails of the files on any/all USB sticks that you've ever inserted into your Mac?" Me thinks not...

It's worth noting that if the main drive on the Mac is encrypted, the Quick Look cache that's created is too. Wardle says that data "may be safe" on a machine that's powered off, but on a Mac that's running, even if encrypted containers are unmounted, the caching feature can reveal their contents.

"In other words, the increased security encrypted containers were thought to provide, may be completely undermined by QuickLook," writes Wardle.

Wardle recommends that users concerned about unencrypted data storage clear the Quick Look cache manually whenever a container is unmounted, with instructions for this available on Wardle's website. It's also worth checking out Wardle's site for full details on the Quick Look bug.

Popular Stories

Apple Creator Studio iWork suite

Apple Pulls Keynote, Pages and Numbers From App Store [Update: Back]

Thursday October 22, 2026 11:01 am PDT by
Apple has temporarily removed Keynote, Pages, and Numbers from the App Store, just after releasing an update that added iPhone Duo support and a new Intelligent Assistant. It is not clear if the apps were removed intentionally, or if it is a bug. Apple has not said when the apps will be reinstated, but if it was in error, they should return soon. Update: The Mac versions are back without...
Apple Music iPod Page Not Found

Apple Music Has a Hidden iPod You Can Play With

Friday October 23, 2026 7:11 am PDT by
Apple Music has a 404 page easter egg on the web: a functional iPod that appears when you load a page that does not exist, such as music.apple.com/macrumors. "Page Not Found," says Apple. "Give this a spin instead." Apple is clever with this. If you navigate to music.apple.com/ipod instead, the page says "Looking for something?" instead of "Page Not Found." The easter egg is only...
iphone duo screen crack in store

Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge

Friday October 23, 2026 11:05 am PDT by
Some iPhone Duos are already experiencing hinge issues that cause display cracks, based on photos shared on Reddit and the MacRumors forums. Almost all of the display faults are right along the hinge, and most result in a line of bright pixels across one side of the screen. An iPhone Duo owner in Australia said his device cracked after being opened fewer than 20 times, and there was no...

Top Rated Comments

luvbug Avatar
109 months ago
It's a one line command (in terminal) to clear the cache. You need to be an "admin" user, but you don't need to be root:

qlmanage -r cache

Of course, someone here will figure out a reason to whine about having to do this.
Score: 20 Votes (Like | Disagree)
InuNacho Avatar
109 months ago
I’ve known about this for years. I accidently locked a word file and was able to “rescue” it by hitting the space bar.
Great security.
Score: 18 Votes (Like | Disagree)
magicschoolbus Avatar
109 months ago
This is an issue that's existed for at least eight years and concerns have been raised about it ('http://osxdaily.com/2010/07/25/filevault-and-quicklook-leak-some-information-from-encrypted-volumes/') in the past, but Apple has made no changes in macOS to address it. "The fact that behavior is still present in the latest version of macOS, and (though potentially having serious privacy implications), is not widely known by Mac users, warrants additional discussion," writes Wardle.
Apple does not care about the Mac. The hardware and this proves it. You guys should seriously consider naming this site iosrumors.com (that's not a shot at you either.. Apple is all about iOS)
Score: 17 Votes (Like | Disagree)
109 months ago
So, you get the prize for first whiner! I guess assigning blame is more important to you than addressing the problem in the first person using readily available information.
Ordinary people wouldn’t know to input a terminal command, or even know that Quick Look is leaking their data.

The bug lies with Apple’s code. How is this the fault of the consumer? The consumer is certainly not the party to blame in this situation.
Score: 12 Votes (Like | Disagree)
109 months ago
It's a one line command (in terminal) to clear the cache. You need to be an "admin" user, but you don't need to be root:

qlmanage -r cache

Of course, someone here will figure out a reason to whine about having to do this.
You shouldn't have to do this because of a bug in the software left in from literally years ago.
Score: 11 Votes (Like | Disagree)
iapplelove Avatar
109 months ago
Apple does not care about the Mac. The hardware and this proves it. You guys should seriously consider naming this site iosrumors.com (that's not a shot at you either.. Apple is all about iOS)
Apple is all about where the revenue comes from. You would too. We all would.

iPhone is their main source of revenue.

Still though it’s a damn shame they can’t at least keep a healthy Mac lineup going.
Score: 8 Votes (Like | Disagree)
Latest Stories
Make iPhone Duo Volume Buttons Follow Screen Rotation
Make iPhone Duo Volume Buttons Follow Screen Rotation
2 hours ago
iPhone Duo Teardowns Reveal Two Batteries and More
iPhone Duo Teardowns Reveal Two Batteries and More
3 hours ago
M5 MacBook Air Returns to Prime Day Low With $200 Amazon Discount
M5 MacBook Air Returns to Prime Day Low With $200 Amazon Discount
4 hours ago
Top Stories: Apple 'Pro and Tell' Debut, iPhone Duo Launch, and More
Top Stories: Apple 'Pro and Tell' Debut, iPhone Duo Launch, and More
5 hours ago
Apple Store Pickup System for iPhone Duo Just Went Live Again in U.S. and Canada
Apple Store Pickup System for iPhone Duo Just Went Live Again in U.S. and Canada
6 hours ago
Apple Closes French Stores Ahead of Further Protests
Apple Closes French Stores Ahead of Further Protests
13 hours ago
Apple Pushes Back on DOJ Request for More Evidence
Apple Pushes Back on DOJ Request for More Evidence
14 hours ago
The iPhone Duo Can Be a Tiny Mac, a Toaster, and a Nintendo DS
The iPhone Duo Can Be a Tiny Mac, a Toaster, and a Nintendo DS
19 hours ago
Using an Apple Pencil With the iPhone Duo: What to Know
Using an Apple Pencil With the iPhone Duo: What to Know
21 hours ago
Apple Store Pickup for iPhone Duo Starting to Resume But Very Limited
Apple Store Pickup for iPhone Duo Starting to Resume But Very Limited
22 hours ago
iPhone Duo Jailbroken on Launch Day
iPhone Duo Jailbroken on Launch Day
23 hours ago
Apple Seeds Updated watchOS 27.2 Release Candidate
Apple Seeds Updated watchOS 27.2 Release Candidate
23 hours ago
Apple Store in UK Reopens With New Design on iPhone Duo Launch Day
Apple Store in UK Reopens With New Design on iPhone Duo Launch Day
23 hours ago
Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge
Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge
1 day ago
iPhone Duo Brings Back Long Lines at Apple Stores
iPhone Duo Brings Back Long Lines at Apple Stores
1 day ago
The MacRumors Show: iPhone Duo Arrives, Touchscreen MacBooks Next
The MacRumors Show: iPhone Duo Arrives, Touchscreen MacBooks Next
1 day ago
Apple Released iOS 27.1 for iPhone Duo Only
Apple Released iOS 27.1 for iPhone Duo Only
1 day ago
iPhone Duo: Open Two Apps Side by Side and Lock Them As an App Pair
iPhone Duo: Open Two Apps Side by Side and Lock Them As an App Pair
1 day ago
iPhone Duo Launches With Carrier and Accessory Discounts Available
iPhone Duo Launches With Carrier and Accessory Discounts Available
1 day ago
Apple Music Has a Hidden iPod You Can Play With
Apple Music Has a Hidden iPod You Can Play With
1 day ago
iPhone Duo Says 'Hello' to You Personally
iPhone Duo Says 'Hello' to You Personally
1 day ago
iPhone Duo: How to Skip the Swipe Up After Touch ID
iPhone Duo: How to Skip the Swipe Up After Touch ID
1 day ago
Where to Buy iPhone Duo Today: Stores, Pickup, and Wait Times
Where to Buy iPhone Duo Today: Stores, Pickup, and Wait Times
1 day ago
MacBook Neo Helps Apple Outpace Rivals as Market Declines
MacBook Neo Helps Apple Outpace Rivals as Market Declines
1 day ago
Happy 25th Anniversary, iPod
Happy 25th Anniversary, iPod
1 day ago
iPhone Duo Demand Reportedly Exceeds Apple's Expectations
iPhone Duo Demand Reportedly Exceeds Apple's Expectations
2 days ago
iPhone Duo Launch Begins as First Orders Reach Customers
iPhone Duo Launch Begins as First Orders Reach Customers
2 days ago
1Password for Agents Keeps Your Passwords Hidden From AI
1Password for Agents Keeps Your Passwords Hidden From AI
2 days ago
iPhone Duo 24 Hours Later: Your Questions Answered
iPhone Duo 24 Hours Later: Your Questions Answered
2 days ago
Apple's iWork Apps Get 'Intelligent Assistant' and iPhone Duo Support
Apple's iWork Apps Get 'Intelligent Assistant' and iPhone Duo Support
2 days ago