The International Security Assistance Force didn't provide details on the identities or nationalities of those killed.
Earlier, Kabul police spokesman Hashmat Stanakzai said the attack, which occurred about a kilometre from the Camp Phoenix NATO base, wounded six civilians.
Taliban spokesman Zabiullah Mujahid said the insurgent group was behind the attack.