Taliban militants launched an attack on a foreign compound in Kabul Saturday, officials said, the latest in a series of strikes in the Afghan capital in the final weeks of NATO's 13-year war against the insurgents.