Taleban militants have freed one German and four Afghans held hostage in Afghanistan since July in exchange for the release of several Taleban prisoners .