In Baghdad , a high-ranking security official died after a bomb attached to his car exploded .