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...
Mostly Screen iPhone Purple Feature 2027

iPhone 20 Pro's Redesign May Be Less Radical Than Expected

Wednesday December 2, 2026 5:05 am PST by
Apple's 20th-anniversary iPhone is unlikely to achieve a completely bezel-free design due to manufacturing costs and production challenges, according to a new rumor from South Korea. In a new post on Naver, the leaker and news aggregator known as "yeux1122" shared information attributed to sources at companies in South Korea. The account characterized the display plans as a "compromise with...

Top Rated Comments

luvbug Avatar
111 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
111 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
111 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)
111 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)
111 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
111 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's (RED) AirPods Max 2 Drop $100 as MacBook and iPhone Black Friday Deals Stick Around
Apple's (RED) AirPods Max 2 Drop $100 as MacBook and iPhone Black Friday Deals Stick Around
17 minutes ago
Amazon Just Beat Black Friday: M6 MacBook Pro Drops to New Record Low
Amazon Just Beat Black Friday: M6 MacBook Pro Drops to New Record Low
27 minutes ago
Apple Wallet Driver's Licenses Coming to These U.S. States
Apple Wallet Driver's Licenses Coming to These U.S. States
30 minutes ago
Top Stories: Five New (RED) Apple Products, iPhone Rumors, and More
Top Stories: Five New (RED) Apple Products, iPhone Rumors, and More
3 hours ago
15 More iPhone Duo Apps Worth Trying
15 More iPhone Duo Apps Worth Trying
18 hours ago
Apple Raises AppleCare+ Prices for Several Macs
Apple Raises AppleCare+ Prices for Several Macs
19 hours ago
Review: BMX's SolidSafe Duo is a Power Bank Tailor-Made for the iPhone Duo
Review: BMX's SolidSafe Duo is a Power Bank Tailor-Made for the iPhone Duo
20 hours ago
Apple's New (RED) AirPods Max 2 Now Available for $100 Off
Apple's New (RED) AirPods Max 2 Now Available for $100 Off
23 hours ago
The MacRumors Show: Apple's New (RED) Products and Siri AI Problems
The MacRumors Show: Apple's New (RED) Products and Siri AI Problems
1 day ago
Disney+ App Now Optimized for iPhone Duo
Disney+ App Now Optimized for iPhone Duo
1 day ago
AirPods 5 Drop to $99 for the First Time Ever on Amazon
AirPods 5 Drop to $99 for the First Time Ever on Amazon
1 day ago
Apple Loses Early Appeal Bid in Apple Pay Fees Lawsuit
Apple Loses Early Appeal Bid in Apple Pay Fees Lawsuit
1 day ago
WhatsApp Strengthens Built-In Spam Protections for Usernames
WhatsApp Strengthens Built-In Spam Protections for Usernames
1 day ago
Jon Prosser Pushes for Year-Long Delay in iOS 26 Leaks Case
Jon Prosser Pushes for Year-Long Delay in iOS 26 Leaks Case
1 day ago
BBC iPlayer App Gains UHD Streaming Support on Apple TV 4K
BBC iPlayer App Gains UHD Streaming Support on Apple TV 4K
1 day ago
iPhone 18 Delays Linked to Memory Costs and Ternus Decisions
iPhone 18 Delays Linked to Memory Costs and Ternus Decisions
1 day ago
WhatsApp Group Chats Now Work With Third-Party App in Europe
WhatsApp Group Chats Now Work With Third-Party App in Europe
1 day ago
Apple Says More Than 400,000 Apps Now Optimized for iPhone Duo
Apple Says More Than 400,000 Apps Now Optimized for iPhone Duo
2 days ago
Apple's iPhone Game of the Year Isn't Optimized for iPhone Duo
Apple's iPhone Game of the Year Isn't Optimized for iPhone Duo
2 days ago
Four New Apple Arcade Games Available Today
Four New Apple Arcade Games Available Today
2 days ago
YouTube TV Price Climbs Again, Now Nearly $90 a Month
YouTube TV Price Climbs Again, Now Nearly $90 a Month
2 days ago
Some M5 Macs Have a Studio Display XDR Problem
Some M5 Macs Have a Studio Display XDR Problem
2 days ago
Cyber Week iPhone Deals: Get an iPhone Duo at No Cost for the Holidays
Cyber Week iPhone Deals: Get an iPhone Duo at No Cost for the Holidays
2 days ago
Apple's Former Software Design Chief Alan Dye on Why He Joined Meta
Apple's Former Software Design Chief Alan Dye on Why He Joined Meta
2 days ago
Meta Considers iPhone Rival and Revives Smartwatch Plans
Meta Considers iPhone Rival and Revives Smartwatch Plans
2 days ago
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
iPhone 20 Pro Titanium Rumors Grow as Material Orders Rise
2 days ago
Apple Announces 'The Morning Show' Season 5 Release Date
Apple Announces 'The Morning Show' Season 5 Release Date
2 days ago
Apple Pay Promo Offers $25 Gift Card at Gorjana
Apple Pay Promo Offers $25 Gift Card at Gorjana
2 days ago
Apple Announces 2026 iPhone App of the Year and More
Apple Announces 2026 iPhone App of the Year and More
2 days ago
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
M6 MacBook Pro Cyber Week Deal Takes $250 Off Select Models
2 days ago