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.
PSL 2019 - PSL Schedule with all PSL 4 matches and schedule for all franchises
Rishabh Pant onslaught thumps Mumbai Indians
Jhye Richardson sent home after dislocated shoulder
Shan Masood urges teammates to come hard at Australia
Faheem to return back Pakistan
Mohammad Rizwan’s maiden ton in vain as Australia outclassed Pakistan
Warner's heroics go in vain as Russell's onslaught overcomes Sunrisers Hyderabad
Hendricks, Pretorius inflict T20I series whitewash on Sri Lanka
Australia series could throw some selection conundrums for Pakistan
Australia appoint Troy Cooley as bowling coach for upcoming Ashes