The exposed cloud storage bucket is the breach that refuses to die. AWS added Block Public Access, Azure turned off anonymous access by default on new storage accounts, Google added public access prevention and uniform bucket-level access, and yet, in 2026, sensitive data still ends up readable by anyone who knows the URL. The default got safer; the ways to defeat it got subtler.

Object storage (Amazon S3, Azure Blob Storage, Google Cloud Storage) is where the modern enterprise keeps its bulk data: backups, logs, exports, media, analytics dumps. It is cheap, effectively infinite, and reachable over HTTPS from anywhere. That last property is the whole problem. A single wrong setting turns a private data lake into a public website, and unlike a compromised server, a public bucket leaves no crash and no alert, just quiet, continuous read access.

The defaults got safer. So why does it keep happening?

Public Storage Buckets: How Data Still Leaks in 2026Diagram with these labels, in reading order: INTERNET; STORAGE ACCOUNT; OBJECTS; guess / CT logs; blocked; one override; unauth GET; Attacker enumerates; bucket names; Intended: private; Account public-; access block; Bucket ACL /; policy override; Sensitive objects; backups, .env; One layer left open; defeats the private; default.INTERNETSTORAGE ACCOUNTOBJECTSguess / CT logsblockedone overrideunauth GETAttacker enumeratesbucket namesIntended: privateAccount public-access blockBucket ACL /policy overrideSensitive objectsbackups, .envOne layer left opendefeats the privatedefault
A private default still leaks when any single exposure layer is left open.

Because "public" is no longer a single toggle. Exposure now hides in several layers, and a bucket locked at one layer can still be wide open at another:

  • Overrides at the object level. Where Block Public Access is off, individual objects or a legacy ACL can grant AllUsers read. The container looks safe; the contents are not.
  • Over-broad bucket policies. A policy with "Principal": "*", or an Azure container set to anonymous blob access, or a GCS bucket granting allUsers the Storage Object Viewer role, opens the door wherever the matching block is not enforced.
  • Presigned URLs gone feral. Time-limited links generated with a long expiry, then pasted into tickets, chat, and client-side code, become durable public handles to private objects.
  • Authenticated-user misreads. Granting access to AuthenticatedUsers in AWS means any AWS account on earth, including accounts you do not own. This subtlety still catches teams out.
  • Public by design, sensitive by accident. A bucket that genuinely must serve public assets quietly accumulates a database export or an env file dropped in the wrong prefix.
Why it matters: A leaked bucket is a zero-effort breach for the attacker. There is no exploit, no malware, no lateral movement, just an HTTP GET against data you thought was private.

How attackers find them

Nobody stumbles onto these by luck. Bucket names are semi-guessable (company-backups, acme-prod-logs), and enumeration tools spray permutations against the storage endpoints all day. Certificate transparency logs, code repositories, and old presigned URLs indexed by search engines all leak names. Once a readable bucket is found, listing its contents is often a single unauthenticated request. Discovery is cheap for the attacker precisely because the data is served over the same public web everyone else uses.

The check an attacker runs first; run it yourselfaws s3 ls s3://acme-prod-backups --no-sign-request # returns an object listing = world-readable

Shutting it down

  • Turn on account-level public-access blocks and leave them on. Block Public Access (AWS), disallow anonymous access at the storage-account level (Azure), and enforce public-access prevention via org policy (GCP).
  • Prefer IAM policies to object ACLs. Enable uniform bucket-level access on GCS, and on S3 disable ACLs with the bucket-owner-enforced Object Ownership setting, so per-object ACLs cannot silently re-open data. Fewer knobs means fewer ways to be wrong.
  • Treat presigned URLs as secrets. Keep expiries short, scope them to a single object and verb, and never embed long-lived ones in client code.
  • Separate public and private by design. Public assets live in their own dedicated bucket with nothing sensitive near it, never as a prefix inside a private store.
  • Scan continuously and from the outside. Cloud posture tooling flags any bucket that becomes world-readable; an external check confirms what the internet can actually see.

The public bucket persists because storage is easy to create and easy to forget. Every team can stand one up in seconds, and the riskiest bucket in your estate is usually the one no central team knows exists. Safe defaults apply to new resources, while older buckets keep the settings they were created with, and

Back to the knowledge baseRequest an assessment