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

iphone 17 pro max battery 1 year

Three Years of 80% Charge Limits on iPhone: The Results

Tuesday October 6, 2026 12:59 pm PDT by
Since 2023, Apple's newer iPhones have had an 80 percent charge limit for those who want to extend battery lifespan. Charging to 80 percent instead of 100 percent is supposed to put less stress on the battery, improving longevity. For the last three years, I've used that setting on my iPhone. I started with the iPhone 15 Pro Max, then did the iPhone 16 Pro Max, and most recently, the iPhone...
apple welcome home event

Apple Product Launch Announced for October 13: 'Welcome Home'

Thursday October 8, 2026 9:04 am PDT by
Apple today announced an upcoming product launch that will take place on Tuesday, October 13. We are expecting Apple's announcement to focus on new smart home products, including the long-rumored smart home hub, a new Apple TV 4K, and a refreshed HomePod mini. Subscribe to the MacRumors YouTube channel for more videos. The home hub is an all-new device that's like a cross between an iPad and...
MacBook Pro Ultra Feature 1

Apple to Launch Touchscreen OLED MacBook Pro and OLED iPad mini on October 27

Thursday October 8, 2026 1:31 pm PDT by
Apple will introduce new OLED touchscreen MacBook Pro models and an OLED iPad mini "on or around" Tuesday, October 27, reports Bloomberg. The launch will also include an M6 14-inch MacBook Pro and an M6 iMac. The October 27 follows Apple's October 13 debut of a new smart home hub, a revamped Apple TV 4K, and a refreshed HomePod mini. Earlier this month, MacRumors reported that Apple would do ...

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
Apple Stores Will Add Your Name to iPhone Duo's Startup Screen
Apple Stores Will Add Your Name to iPhone Duo's Startup Screen
12 hours ago
SpaceX Inches Closer to Becoming a U.S. Carrier
SpaceX Inches Closer to Becoming a U.S. Carrier
12 hours ago
Apple Potentially Behind 'HomeView' Trademark Filed Alongside 'homeOS' Last Year
Apple Potentially Behind 'HomeView' Trademark Filed Alongside 'homeOS' Last Year
14 hours ago
Mark Your Calendar: Six Important Apple Dates Coming Up This Month
Mark Your Calendar: Six Important Apple Dates Coming Up This Month
15 hours ago
MacRumors Giveaway: Win an Apple Watch Series 12 and a Nylon Band From Southern Straps
MacRumors Giveaway: Win an Apple Watch Series 12 and a Nylon Band From Southern Straps
18 hours ago
First Apple TV 4K Now 'Vintage' Ahead of New Model Coming on Tuesday
First Apple TV 4K Now 'Vintage' Ahead of New Model Coming on Tuesday
19 hours ago
The MacRumors Show: Apple's Smart Home Products Are Coming
The MacRumors Show: Apple's Smart Home Products Are Coming
20 hours ago
Apple Shares Fall After News of iPhone 18 Pro Order Cuts
Apple Shares Fall After News of iPhone 18 Pro Order Cuts
20 hours ago
Leak Details iPhone Features for Apple's LG Home Accessories
Leak Details iPhone Features for Apple's LG Home Accessories
20 hours ago
Prime Day Leftover Deals: AirPods Max 2 for $429, Mac Mini for $779.99, and More
Prime Day Leftover Deals: AirPods Max 2 for $429, Mac Mini for $779.99, and More
21 hours ago
Every M5 MacBook Air Now $200 Off on Amazon
Every M5 MacBook Air Now $200 Off on Amazon
21 hours ago
Mac Shipments Fall, But Apple Still Gains Ground in Shrinking Market
Mac Shipments Fall, But Apple Still Gains Ground in Shrinking Market
22 hours ago
Apple Reportedly Cuts iPhone 18 Pro Orders After Price Hike Dampens Demand
Apple Reportedly Cuts iPhone 18 Pro Orders After Price Hike Dampens Demand
23 hours ago
Apple Signs Hiring and Licensing Deal With AI Podcast Startup Huxe
Apple Signs Hiring and Licensing Deal With AI Podcast Startup Huxe
1 day ago
Apple's October 13 Launch: What's Coming
Apple's October 13 Launch: What's Coming
2 days ago
Anthropic Says Users Can't Be Needlessly Cruel to Claude
Anthropic Says Users Can't Be Needlessly Cruel to Claude
2 days ago
Apple to Launch Touchscreen OLED MacBook Pro and OLED iPad mini on October 27
Apple to Launch Touchscreen OLED MacBook Pro and OLED iPad mini on October 27
2 days ago
Apple Now Pushing iPhone Users Still on iOS 26 to Install iOS 27
Apple Now Pushing iPhone Users Still on iOS 26 to Install iOS 27
2 days ago
Apple Has a New M&A Chief as Ternus Reshuffles Leadership
Apple Has a New M&A Chief as Ternus Reshuffles Leadership
2 days ago
Prepare for Apple's New Home Hub With These HomeKit Accessory Deals
Prepare for Apple's New Home Hub With These HomeKit Accessory Deals
2 days ago
Tim Cook Says He's 'Not Meddling' With Apple's New CEO John Ternus
Tim Cook Says He's 'Not Meddling' With Apple's New CEO John Ternus
2 days ago
Tim Cook Explains Why He Stepped Down as Apple CEO Before iPhone Duo Launch
Tim Cook Explains Why He Stepped Down as Apple CEO Before iPhone Duo Launch
2 days ago
Apple Product Launch Announced for October 13: 'Welcome Home'
Apple Product Launch Announced for October 13: 'Welcome Home'
2 days ago
Amazon Unveils New iPad Rivals With Alexa+ and Google Play
Amazon Unveils New iPad Rivals With Alexa+ and Google Play
2 days ago
Missed Prime Day? You Can Still Score Big on Apple Devices Today
Missed Prime Day? You Can Still Score Big on Apple Devices Today
2 days ago
Apple's Cheapest 16-Inch MacBook Pro Just Got a Massive $563 Discount on Amazon
Apple's Cheapest 16-Inch MacBook Pro Just Got a Massive $563 Discount on Amazon
2 days ago
Apple Still Expected to Announce Three New Products on October 13
Apple Still Expected to Announce Three New Products on October 13
2 days ago
Leaker Jon Prosser Pushes Back as Apple Seeks His YouTube Data
Leaker Jon Prosser Pushes Back as Apple Seeks His YouTube Data
2 days ago
iPhone Air 2 Could Be as Thin as an Unfolded iPhone Duo
iPhone Air 2 Could Be as Thin as an Unfolded iPhone Duo
2 days ago
New iPad Mini Rumored to Have 60Hz OLED Display Ahead of Launch
New iPad Mini Rumored to Have 60Hz OLED Display Ahead of Launch
1 day ago