The present invention relates to a new class of cephalosporin derivatives of formula (I), notably having CXCR4 receptor antagonist effect, useful as a therapeutic agent for treating cancer, in particular for treating breast cancer, lung cancer and uveal melanoma. The invention further relates to a pharmaceutical composition comprising a compound of formula (I) and an additional antitumor drug for treating cancer.