Skip to content
Info disclosure Write-up Beginner

The Thumbnail Trap: An Unpatched Google Docs Vulnerability That R

Google Workspace thumbnails for shared documents were not regenerated immediately after content was edited, so a recipient could see the previous version of the document in the thumbnail for a few minutes. An attacker with access to the shared document could view sensitive information that the owner had deleted before sharing.

Shubhang Borkar Follow

Published on infosecwriteups.com

Non-member? Click to read for free.

Shubhang Borkar, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the thumbnail generation process is asynchronous and does not update immediately when document content changes, leaving a window where the old preview remains accessible.

Impact

A recipient could view sensitive information that was deleted before sharing, such as API keys or passwords, for a few minutes after sharing.

What the attacker needed

Victim shares document after editing; recipient has access to the document

The fix

The issue was not fixed at the time of writing; the author suggests waiting before sharing or duplicating the document.

How it was found

  1. Create a document with sensitive content.
  2. Edit it and remove the sensitive content before sharing.
  3. Share the document with the recipient.
  4. The recipient sees a thumbnail that still contains the old, deleted content.

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 write-up has not been written yet. The Original tab links to the source.

When you share a Google Doc, the service creates a small preview image called a thumbnail. This report found that if you delete sensitive information just before sharing, the thumbnail may still show the old version for a few minutes, so the person you share with can see what you thought was removed.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Shubhang Borkar

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.