Under the 2020 Doha Agreement, the US withdrawal of forces from Afghanistan was conditional on Taliban security assurances that Afghan territory would not be used as a launch pad by al-Qaeda or Islamic State for attacks against the United States. Similar accords seeking security promises from the Taliban are now expected from other countries in the region. The Taliban have all the cards in their hand to exploit the concerns of these regional players about the threat of terrorism spilling over from Afghanistan. Sooner or later, countries including Russia, China, Pakistan and India will be left with no choice but to recognise the Taliban government in Afghanistan as a result of these security concerns.
The Doha accord and Taliban legitimacy | The Interpreter (lowyinstitute.org)