Cloudflare has fixed a vulnerability in its Containers service that let one customer recover leftover disk data from a different customer's earlier workload on the same shared server. Cloudflare says the flaw was reported through its bug bounty program by researcher Oren Yomtov of security firm Accomplish, and it also affected Cloudflare Sandboxes, which runs on the same underlying system.
The issue stemmed from how Cloudflare Containers allocate storage. Each container gets a writable virtual disk inside a Firecracker virtual machine, backed by a Linux storage technique called thin provisioning, which only assigns physical disk space when data is actually written. Cloudflare had disabled a safety step that normally clears old data from reused disk blocks. Because of that, when a new container wrote only a small amount of data into a reused block, the rest of that block could still hold fragments from a previous customer's container.
Researchers demonstrated the technique using a paid Workers account, targeting free space patterns in the container's file system to trigger reuse of old blocks. Cloudflare says the method could not target a specific customer, workload, or data, and residual data was not guaranteed to exist. Cloudflare applied a fleet-wide fix requiring no customer action and says its disk activity logs show no evidence the technique was exploited outside the researchers' authorized testing.
Source: How Cloudflare addressed a cross-tenant data exposure vulnerability in Containers | Cloudflare Blog.