Cloudflare R2 Bucket Detected

info Web App Scanning Plugin ID 115892

Synopsis

Cloudflare R2 Bucket Detected

Description

Cloudflare R2 is an S3-compatible object storage service which provides a programmatic way to store and retrieve data objects in storage containers called `buckets`. Web applications often rely on R2 buckets to serve static assets (images or scripts for example) or to store application related data like user uploads, application exports or log files.

R2 buckets can be exposed publicly through a custom domain or through a Cloudflare managed `r2.dev` public development URL, or be accessed privately through the S3 API endpoint (`<ACCOUNT_ID>.r2.cloudflarestorage.com`). R2 does not support ACLs or bucket policies, so access to the objects relies on the exposure method chosen for the bucket and on the API tokens used to access it.

Solution

Ensure that the detected Cloudflare R2 bucket is already identified in the assets used by the web applications, and that its public access, CORS configuration and API tokens are defined according to its expected purpose and to the Cloudflare security best practices. The `r2.dev` public URL is meant for development only and should be disabled in favor of a custom domain for production usage.

See Also

https://developers.cloudflare.com/r2/

https://developers.cloudflare.com/r2/api/s3/tokens/

https://developers.cloudflare.com/r2/buckets/public-buckets/

Plugin Details

Severity: Info

ID: 115892

Type: Check Based

Published: 12/4/2026

Updated: 12/4/2026

Scan Template: api, basic, full, pci, scan