The Taliban, the biggest insurgent group, denied any involvement but the attack underlined the growing insecurity in Afghanistan ahead of the warmer spring weather, when fighting often increases in intensity.