"Such reprehensible acts of terrorism will not in any way undermine the determination of the Somali people to pursue their state-building, economic recovery and security priorities", said the UN Secretary-General's deputy special representative for Somalia, Raisedon Zenenga, in a statement.
The blasts came a day before the first anniversary of a truck bombing that left more than 500 dead in Mogadishu, the worst ever attack in Somalia which was blamed on Al-Shabaab.
In the Somali capital of Mogadishu near a hotel Sahafi exploded three vehicle bombs.
The death toll may rise as still missing.
The blasts occurred near the Sahafi hotel and Criminal Investigation Division police headquarters.
According to a report by The Independent, suicide bombs detonated near the Sahafi Hotel. "I could see people screaming as they fled the buses", witness Fadumo Ali told AFP.
Among those killed was the owner of the hotel, Abdifatah Abdirashid, whose father, Abdirashid Mohamed, died in a similar attack three years earlier, the BBC reported.
Last month, the Pentagon said it killed more than 60 al-Shabab fighters in an air attack near the city of Harardhere.
The Somali terror group Al-Shabaab claimed responsibility for the attacks, which took place on Friday on a busy street near a checkpoint that controls access to Mogadishu International Airport.