4 Americans Killed in Afghanistan During Veteran’s Day Run

The victims were participating in a memorial 5k run, officials said.

But officials in Washington and various U.S. military commands have been told that the victims were participating in a 5K run celebrating Veterans Day, two counterterrorism officials told ABC News.

A coalition official later told ABC News that the attacker used a belt or vest bomb in the attack.

Neither the exact nature of the attacker’s work on the base, nor when he began working there is known. It is common for local residents to take jobs like day laborers, cleaners and cook assistants at the facility.

The district governor told ABC News that Afghan security forces had raided the attacker’s residence in the Laghmani village and had detained two of his relatives for further investigation.

The State Department said that the embassy “continues to receive reports of militants planning unspecified attacks in Kabul City and elsewhere in Afghanistan against locations and individuals with potential American connections.”

As part of standard operating procedure, outside communications at the military base are temporarily shut off after deadly attacks.

The Afghan Taliban claimed responsibility in a statement today, claiming much higher casualties.

"For those who carried out this attack, my message is simple. We will not be deterred in our mission to protect our homeland and help Afghanistan secure its own future," Carter said.

"To the family and friends of those who lost their lives today, we share your loss and our thoughts are with you. We offer you our deepest condolences. For the family and friends of those wounded in today’s attack, let me assure you they are receiving the best care possible, and we will keep them in our thoughts today,” said Army General John W. Nicholson, Commander of Resolute Support. "To those who target Coalition forces, ANDSF, and Afghan civilians, Resolute Support and USFOR-A will continue to pursue our Train, Advise, and Assist mission to help our partners create a better Afghanistan.”

The deadly bombing appears to be unprecedented in the 15-year Afghan War. Past attacks on various gates and checkpoints at Bagram, an hour's drive north of the capital Kabul, have never succeeded in penetrating the many layers of security.

In 2007, a suicide bomber killed 22 civilians and Army Pfc. Daniel Zizumbo during a coincidental visit by then-Vice President Richard Cheney. After a stop by President Obama to visit with troops at Bagram Airfield in 2010, the Taliban lobbed rockets at the base.

In both cases, the Afghan Taliban claimed falsely that Cheney and Obama had been the targets, which American officials denied.

The most serious breach of security at Bagram known to have occurred was in July 2005 when four senior al-Qaeda operatives succeeded in escaping a prison located on the flight line.

ABC News’ Lucien Bruggeman contributed reporting.

Editor's note: This story has been updated to correct the fact that the Taliban lobbed rockets at the base after President Obama visited in 2010. A previous version of this story said a mortar attack occurred in early 2013.