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 Kukatpally Wallpaper

Apple Just Released Five New Products

Wednesday December 2, 2026 6:12 am PST by
Apple this week released five new (RED) products, which are available online and at Apple Stores in the U.S. and dozens of other countries. The five new products with (RED) editions:AirPods Max 2 ($549) HomePod mini 2 ($149) Apple Watch Series 12 (Titanium) ($699) AirPods Pro 3 with Wrist Strap ($269) AirTag 2 with AirTag FineWoven Key Ring ($59)Apple is now using (RED) branding instead...
macbook proled candy

PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]

Wednesday December 2, 2026 6:14 am PST by
Apple's MacBook Pro with PROLED XDR is seeing a massive $1,000 discount right now on Amazon, undercutting the Black Friday price by over $700. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. The model in question is the 16-inch PROLED MacBook Pro with 36GB...
google authenticator

PSA: Don't Update Google Authenticator on iOS 27 Right Now [Update: Fixed]

Monday November 30, 2026 6:06 pm PST by
Google Authenticator users should avoid installing the latest 5.2.2 update because it seems to be crashing on launch. Multiple people on Google's support forums say that Google Authenticator 5.2.2 crashes on iOS 27, iOS 27.2, iOS 27.2.1, and the iOS 27.3 beta. Users are unable to access two-factor authentication codes for logins because the app doesn't launch. Complaints about the update...

Top Rated Comments

luvbug Avatar
110 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
110 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
110 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)
110 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)
110 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
110 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
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
11 minutes ago
Apple Announces 'The Morning Show' Season 5 Release Date
Apple Announces 'The Morning Show' Season 5 Release Date
51 minutes ago
Apple Pay Promo Offers $25 Gift Card at Gorjana
Apple Pay Promo Offers $25 Gift Card at Gorjana
1 hour ago
Apple Announces 2026 iPhone App of the Year and More
Apple Announces 2026 iPhone App of the Year and More
1 hour ago
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
2 hours ago
Apple Music Launches as a Native App in BMW and Mini Vehicles
Apple Music Launches as a Native App in BMW and Mini Vehicles
3 hours ago
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
Proton Mail's iPhone App Adds Full-Text Search for Encrypted Email
3 hours ago
Apple Backs US Warning Over AI Threat to Encryption
Apple Backs US Warning Over AI Threat to Encryption
6 hours ago
Apple's HomeView is Backordered Into February
Apple's HomeView is Backordered Into February
16 hours ago
CARROT Weather Adds Almanac for Personal Weather History
CARROT Weather Adds Almanac for Personal Weather History
17 hours ago
Instagram Cracking Down on Unlabeled Realistic AI Content
Instagram Cracking Down on Unlabeled Realistic AI Content
18 hours ago
Apple Stores Running Short on iPhone Duo Repair Parts
Apple Stores Running Short on iPhone Duo Repair Parts
19 hours ago
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
AirPods Max 2 or Beats 360? Here's Which Apple Headphones to Get
20 hours ago
Apple Releases 27.2.2 HomeView Software Update
Apple Releases 27.2.2 HomeView Software Update
21 hours ago
Apple's FileMaker Pro Gaining Support for AI Coding Agents
Apple's FileMaker Pro Gaining Support for AI Coding Agents
23 hours ago
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
ChatGPT Brings Redesigned App to iPhone Duo, Expands 'Dots' Access
23 hours ago
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
Missed Black Friday? Amazon's MacBook Air Sale Brings Back Big $399 Discount
1 day ago
Apple Preparing Online Store for AI Agent Integration
Apple Preparing Online Store for AI Agent Integration
1 day ago
Spotify Wrapped 2026 Now Available
Spotify Wrapped 2026 Now Available
1 day ago
Apple Shares New Video Highlighting Features for Parents With Disabilities
Apple Shares New Video Highlighting Features for Parents With Disabilities
1 day ago
PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]
PROLED MacBook Pro Receives Massive $1,000 Amazon Discount [Update: Gone]
1 day ago
Apple Escapes $502 Million Payout in UK Optis Patent Dispute
Apple Escapes $502 Million Payout in UK Optis Patent Dispute
1 day ago
iPhone 20 Pro's Redesign May Be Less Radical Than Expected
iPhone 20 Pro's Redesign May Be Less Radical Than Expected
1 day ago
Facebook Messenger Now Works With Apple CarPlay
Facebook Messenger Now Works With Apple CarPlay
1 day ago
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
Apple's OLED iPad Air Supply Race Heats Up as BOE Starts Production
1 day ago
Tim Cook and John Ternus Pay Tribute to Warren Buffett
Tim Cook and John Ternus Pay Tribute to Warren Buffett
1 day ago
Disney Finishes Merging Disney+ and Hulu Apps
Disney Finishes Merging Disney+ and Hulu Apps
2 days ago
Meta Working on New 'IRL' Social App
Meta Working on New 'IRL' Social App
2 days ago
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
Google Launches 'Favorites' to Prioritize Your Go-To News Sites
2 days ago
Honda Vehicles Could Soon Support iPhone Car Keys
Honda Vehicles Could Soon Support iPhone Car Keys
2 days ago