(CNN)Thousands of prisoners -- including senior al Qaeda and Taliban figures -- remain in Afghanistan's Bagram prison under the sole control of Afghan authorities, following the swift departure of US combat troops from the sprawling compound that houses it, Afghan and security officials told CNN