Five members of a family, including three children, were killed and three more injured when gunmen entered their house in Khost province on Sunday night.
A spokesman for the provincial police said the incident took place in Ismail Khil district, close to Khost city.
The dead include a man, woman and three children.
The police are investigating the attack.