Zaman Hamdard, spokesperson for the provincial police, said the victims included two children, a woman and three men from the same family.
The explosion happened near a Taliban checkpoint.
President Ashraf Ghani condemned the bombing, called it a “crime against humanity” and called on the Taliban to stop planting mines.