Unzeroed disk blocks let Cloudflare Containers leak old data

In short

64 KiB size of a storage block in the affected pools; 60 KiB left unwritten, and possibly old, after a 4 KiB write; 18 of 24 placements where the researchers saw residual data; 7 September 2026 fleet-wide rollout complete

What went wrong in Cloudflare Containers?

Cloudflare Containers run customers' programs on shared servers. Each container sits in its own Firecracker virtual machine (a small, isolated virtual computer) and gets a writable root disk built with Linux's device mapper thin provisioning, "dm-thin". Cloudflare says customers cannot choose the host.

Thin provisioning hands out real disk space only when a virtual disk first writes to a region. When a container's disk is deleted, its blocks go back into a pool that serves several customer accounts. In the affected pools those blocks were 64 KiB each.

The pool was configured with an option called skip_block_zeroing. With it, dm-thin does not wipe a newly handed-out block. A full 64 KiB write overwrites everything, but a smaller write changes only its own part, and the rest can keep what the previous owner stored.

How did the researchers read other customers' leftovers?

Cloudflare describes the proof of concept in these steps:

The researchers needed a way to show those bytes came from someone else. Cloudflare says they used ext4 directory block checksums, which tie a block to its filesystem and file. Across six production placements, none of the 5,614 testable directory blocks belonged to the researchers' own filesystem, and 2,700 distinct foreign directory inodes (the records that identify files and folders) turned up. As a check, the method correctly attributed all 162 blocks the researchers had deliberately created and deleted in their own test filesystem.

Overall they saw residual material on 18 of 24 placements and 20 of 22 underlying nodes across four continents. The block types included directory structures, database pages and complete SQLite databases. Cloudflare says the researchers' scripts output only counts and format checks, that their submission contained no third-party filenames, credentials or recovered content, and that they confirmed they securely deleted what they had recovered.

What could an attacker actually get?

Cloudflare says a Workers Paid customer could have recovered filesystem metadata, directory structures, database pages and application data from blocks earlier containers had used. The limits it states: the attacker could not pick a victim, host or data, could not reach a disk still in use, and nothing guaranteed any residue would be there. What came back depended on where workloads were placed and which freed blocks were reassigned. The researchers did not show changes to another customer's live data or any effect on availability.

Cloudflare also says Cloudflare Sandboxes, which are built on Containers, were affected.

How did Cloudflare fix it?

It took two steps, because the first was not enough on its own.

4 Sep 2026, 15:26 UTC: Report received through HackerOne. 4 Sep, 18:45 UTC: Cloudflare opens a security incident and confirms the production setup behind the flaw. 4 Sep, 21:27 UTC: Runtime fix and its reuse test merged; rollout starts at 23:15 UTC. 7 Sep, 06:13 UTC: Rollout complete; clearing of old pool data begins. 14 Sep: Researchers report the proof of concept no longer works (10:50 UTC); bounty awarded (12:52 UTC). 19 Sep, 15:03 UTC: Cleanup of all pre-mitigation cached snapshots finished.

Did anyone else exploit it?

Cloudflare says it reviewed retained disk-I/O telemetry, using the proof of concept and its own reproduction as reference. The signature is a small write followed by a much larger read. It found activity from the researchers and its own engineers doing authorised validation, and nothing else matching the technique. The post limits this to "the historical disk-I/O telemetry available to us" and to "this specific attack vector". It is Cloudflare's own finding and we could not check it.

What is thin provisioning, and why does zeroing matter?

Our explanation. Think of a storage unit with 16 small shelves per box. A new tenant gets a box that may have been used before. Wiping it costs time on every handover, which is why a setting to skip it exists. If the new tenant only fills one shelf, the other 15 still show the last tenant's things. In the post's numbers, 64 KiB divided by 4 KiB is 16 slots; one written leaves 60 KiB. Multi-tenancy means many customers share the same machines, so the wipe between tenants is part of the wall that keeps them apart.

What this does not tell us

Cloudflare's post does not say how long the setting had been in place, how many customers' data sat in reused blocks, or the bounty amount. Whether any data was in fact read by a third party rests on Cloudflare's telemetry review. We did not see the researchers' own report.

Terms in plain English

Sources

Sources

Related stories

More from Vulnerability Research

All stories from Vulnerability Research