← Reference
Data storage

Uploaded files are readable by anyone with the link

Publicly readable object storage bucket

What this means

Your file storage is open for reading. Documents, scans and photos uploaded by users are available to anyone who knows or guesses the file address.

Why it matters

This storage usually holds the most sensitive documents: identity papers, contracts, medical records. The file listing is often open too, so nothing even needs guessing.

When this is not a problem

Storage holding images for a public website is open deliberately.

How to fix it

  • Close public read access and serve files through short-lived links.
  • Confirm the file listing is not available to outsiders.

Prompt for your AI agent

Disable public access to the file storage and serve files through short-lived signed links issued after checking the user's permissions.

Verify the fix: open a file link in a private window — expect a refusal

ClassificationCWE-732CWE-200 · A01:2021
Referencescwe.mitre.org
Is your app doing this?
Find out in about a minute — the first scan is free.
Scan your app
Uploaded files are readable by anyone with the link — seleth