CosmosEscape, a critical vulnerability in Azure, could have allowed attackers to compromise any database on the Cosmos DB service.