"The Islamic Emirate of Afghanistan, while sympathizing with the victims of this savage act as part of its Islamic and human obligation, gives assurance to their heirs that it shall take revenge from the invaders and the savage murderers for every single martyr with the help of Allah and they shall receive punishment for their barbaric actions," the Islamist group said in a statement.
U.S. military officials said that a rogue soldier may have killed more than a dozen Afghan civilians in southern Afghanistan.
"This tragic incident does not reflect the commitment of the U.S. military to protect the Afghan people and help build a strong and stable Afghanistan," he said in a statement.
The Taliban referred to the weekend rampage as an act carried out by "sick-minded American savages."
The incident came less than a month after the alleged mishandling of the Koran on a U.S. military base in Afghanistan stoked widespread anti-American sentiment in the country.
Exploding whale video goes viral on Internet
Theater accidentally screens 'Nymphomaniac' trailer instead of Disney's 'Frozen'