A barrage of up to 40 rounds of munitions hit the airport, including 29 rocket-propelled grenades, according to a U.S. military official.
In response to the attack, the U.S. conducted an airstrike to support an Afghan crisis unit on the ground, but "one of the missiles malfunctioned," causing injuries to Afghan civilians, the U.S.-lead coalition said in a statement.
A separate U.S. military official told reporters traveling with Mattis that the secretary's C-17 aircraft had already departed Kabul for Bagram Airfield when the attack occurred. A spokesperson for the U.S. military in Afghanistan told ABC News that there are no reports of damage to coalition or Afghan military aircraft.
Though no U.S. personnel were injured, Afghan Interior Ministry spokesperson Najib Danish said one Afghan woman was killed and 11 civilians were wounded in the incident. Rockets hit two civilian homes close to the airport.
A U.S. military official told ABC News that two Hellfire missiles were fired from an Apache helicopter. One missile hit its target, while the second accidentally struck a structure, killing the one civilian and wounding several others.
"Resolute Support deeply regrets the harm to non-combatants," the coalition said in a statement on Wednesday. "We take every precaution to avoid civilian casualties, even as the enemies of Afghanistan continue to operate in locations that deliberately put civilians at very high risk. An investigation into the attack and the malfunctioning ammunition has begun."
Danish said later that four people allegedly involved in the attack were killed by Afghan special forces in an operation near the airport.
A Taliban spokesman tweeted that the attack was aimed at the secretary's plane.
ISIS also claimed responsibility for the rocket barrage.
"It’s designed to go after generally innocent people to make some sort of statement," the U.S. defense chief said. "This is a classic definition of what the Taliban are up to right now. It defines their approach to how they see their role here and if in fact this is what they have done, they will find the Afghan security forces continuing on the offensive against them in every district of the country right now. So it is what it is, but it’s also the reason why we band together, and we don’t question what we’re doing here.”
Speaking to reporters traveling with the secretary, a U.S. military official said the Afghan conflict is at a "stalemate."
"We'd still put the conflict in this kind of bounds of the stalemate where neither side really has the capability right now to kind of have a decisive victory," the official said.