The sides will meet again on Friday to decide the series.
The hosts, beaten 2-0 in the recent T20 series, were chasing a target of 228 to win but were bowled out for 198
Afghanistan had already taken an unassailable 2-0 lead in the three-match series against Ireland
Hazratullah Zazai top scored with 82 from just 54 balls and was ably supported by captain Asghar Afghan's 37.
The tourists posted 160-7 batting first after rain had reduced the match to 18 overs a side.
3 players who may have played their last PSL
Haider Ali talks about his comparison with Babar Azam and Virat Kohli
5 reasons why Pakistan lost semifinal against India in ICC WorldCup 2011
Pakistan players allowed to take part in four leagues including PSL
Pakistan rule the charts for successful DRS use
3 possible windows for PCB to resume remaining HBL PSL V
PCB converts Karachi high performance centre into living area for paramedics
Deconstructing Haider Ali
Babar Azam’s tribute to medical staff
PCB turns high performance center into living facility for paramedics