Skip to content
Access control Write-up Intermediate

Google Sheets Permission Flaw: Unshared Sheet Access via URL Mani

Google Sheets' Publish to Web feature enforced permissions at the workbook level, not the sheet level as the UI suggested. An attacker with an old Publish to Web link for one sheet could tweak URL parameters to access other unshared sheets in the same workbook without authentication.

Dhaval Khamar Follow

Published on medium.com

In February 2025, I reported a Google Sheets vulnerability to Google’s Vulnerability Reward Program (VRP). The flaw allowed unauthorized access to unshared sheets within a workbook using old Publish to Web links, exposing sensitive data due to a misleading user interface.

Dhaval Khamar, on medium.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 permission check was applied to the entire workbook rather than to individual sheets, and the user interface did not make this clear.

Impact

Sensitive data in unshared sheets, such as financial reports or customer details, could be exposed to anyone with an outdated link; Google classified it as a documentation issue and did not fix the underlying UI flaw.

What the attacker needed

An old Publish to Web link for a sheet; no authentication needed

How it was found

  1. Obtain an old Publish to Web link for a specific sheet in a workbook.
  2. Modify parameters in the Publish to Web URL.
  3. Access other unshared sheets in the same workbook without authentication.

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.

Google Sheets lets you share a single sheet publicly with a link. The interface made it look like only that sheet was shared, but the system actually checked permissions for the whole workbook. So anyone with an old link could change the link to see other sheets that were supposed to be private.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.