BENGHAZI, Libya — At least three United Nations staff members were killed in Libya after a bomb-laden vehicle exploded this weekend outside a shopping mall in the eastern city of Benghazi, a spokesman for the international body said.

The attack on Saturday occurred even as the country’s warring sides said they had accepted a cease-fire proposed by the United Nations aimed at stopping combat in the capital, Tripoli, during a coming Muslim holiday.

Health officials said the bomb had exploded outside Arkan Mall in the Hawari neighborhood, where people were gathering for shopping a day before the Eid al-Adha holiday. The Benghazi municipal council said the attack had targeted a convoy for the United Nations Support Mission in Libya.

Footage circulated online showed what appeared to be burned United Nations-owned vehicles as thick smoke bellowed into the sky.