The military conflict between Russia and Ukraine has caused global problems in the food and agricultural products market. Wheat and corn producers in Ukraine were the first to suffer. Due to hostilities, the ability to sell products using established supply chains was significantly reduced. The decrease in the supply of products on the global market has caused an increase in product prices and also put the food security of the least developed countries at risk. The global nature of the crisis forces us to look for new logistics solutions. One solution to the problem is related to the Black Sea Grain Initiative. As a result of the initiative, Ukraine has significantly increased grain exports to least developed countries such as Bangladesh, Yemen, Ethiopia and Djibouti, but the export gap of wheat compared to 2021 is no more than 50%, which indicates the inadequacy of existing solutions. The Black Sea Grain Initiative has stopped the global rise in food prices. In this context, the possibility of creating a transport corridor for Ukrainian agricultural products through the territory of EU countries is being considered, using the sea routes of the Baltic Sea. At the same time, the article examines changes in the situation on agricultural markets in individual EU countries, taking into account global changes. At this stage, it is obvious that the military conflict has become protracted and long-term. Which requires thinking about the need to reorient the specialization of some Baltic Sea ports to transport agricultural products.