Australia captain Aaron Finch was relieved his side survived a Pakistan revival at Taunton.
A gripping match saw Australia put 307 on the board before bowling Pakistan out for 266, but until the late stages the contest was firmly in the balance.
And that was reflected in Finch's verdict as he acknowledged some big hitting down the order from Pakistan had given his bowlers a headache.
Pakistan looked to be sinking at 160-6 but it was a different story at 264-7 after Hasan Ali, Wahab Riaz and captain Sarfraz Ahmed led a big-hitting rearguard action.
Mitchell Starc made a key double breakthrough at that stage though, firstly when Australia used a DRS review to show Riaz nicked a delivery through to Alex Carey, and then when bowling Mohammad Amir for a duck.
Glenn Maxwell threw down the stumps to run out Sarfraz and win the match, with Australia thankful they avoided another defeat after losing to India last time out.
That's the game.— Cricket World Cup (@cricketworldcup) June 12, 2019
Glenn Maxwell with an astonishing run-out to end proceedings. Wahab threatened to do something special for a brief period but the bowlers have done their job – it's a 41-run win for the reigning champions. #CmonAussie #CWC19 pic.twitter.com/xjGInDB7mI
Finch agreed Pakistan had put his players under pressure, saying: "They certainly did. It's always tough when you've got guys like Hasan and Wahab coming out and swinging.
"When they start to get on a roll it can be tough to stop. We just had to bowl our best ball, whether that was a length ball or whether it was a yorker. You had to commit to that ball 100 per cent. We saw that if your execution is slightly off on a small ground like this you go for six.
"We didn't bat out 50 overs, which was really disappointing. When you go in with the extra batter you stack the batters to do that job.
"We probably tried to go a little bit too hard too early and ended up probably 20-30 runs short."
Sarfraz said his bowlers came back well after disappointing opening spells allowed Australia to start well, with David Warner going on to make 107 and Finch 82.
"We conceded too many runs in the first 20 overs. Except for Amir the other bowlers did not bowl really well," Sarfraz said at the post-match presentation.
Amir took 5-30 but had little support, while Pakistan were left to lament a number of batsmen failing to convert reasonable starts into big innings.
"If we want to win, the top four have to make runs," Sarfraz said.
Pakistan face India next, and already face a battle to stay in semi-final contention.
A win over India would lift spirits and Sarfraz said: "We will try our level best."
Man of the match Warner admitted Australia should have gone on to reach 340 or 350 after their strong start.
"Credit to the way Pakistan bowled," Warner said. "Their second spells were fantastic. They hit their lines and lengths and made it hard for us. They bowled very straight lines to me and gave me no width."
Assessing the tense finish, he added: "It was probably a lot closer than we expected but I thought it was a great game."
|Juventus appointment ´crowning moment´ of Sarri´s career|
|Juve boss Sarri wants to help Ronaldo break Serie A record|
|NBA Draft 2019: Zion Williamson backed to become ´world´s best´|
|Khan pondering boxing retirement|
|Juventus sell Orsolini to Bologna for €15m|
|Only Neymar knows his future - Douglas Costa|
|Championship fixtures 2019-20: Derby start at Huddersfield, Fulham visit Barnsley|
|FFA outlines plan for national second division|
|Berizzo: Paraguay dropped two points against Argentina|
|All change in Serie A: The task awaiting Sarri, Conte, Giampaolo and Fonseca|
|Rumour Has It: Real Madrid to offer €130m and James or Bale for Neymar|
|Scherzer overcomes broken nose to inspire Nationals|
|Messi: We´re convinced we will beat Qatar|
|A football genius and Lionel Messi – Newcastle poke fun at Argentina great and hail Almiron|
|Argentina lucky to be alive at Copa America – Scaloni|
|Mexico 3 Canada 1: Guardado brace preserves Martino´s 100 per cent record|
|Lightning´s Nikita Kucherov caps off season with Hart Trophy|
|Argentina 1 Paraguay 1: Messi scores but Copa America exit looms|
|World Rugby scraps Nations Championship plans|
|Sanchez left with ´bad taste´ after Qatar´s loss to Colombia|
|Salah among world´s best three players – Elmohamady|
|NBA Draft 2019: Three players with boom or bust potential|
|Colombia 1 Qatar 0: Zapata heads in late winner|
|NBA Draft 2019: Five second-round sleepers|
|NBA Draft 2019: Three players who will be selected too early|
|NBA Draft 2019: Six things we learned from Zion Williamson´s interview|
|NBA Draft 2019: What will Warriors do with pick 28?|
|Injured Del Potro withdraws at Queen´s, Lopez into last eight|
|We´ll wait and see - Jorginho agent not ruling out Juventus move|
|Women´s World Cup Review: Argentina and VAR dump Scotland out as England top Group D|
|Lopez strongly denies match-fixing allegations|
|Defending champion Coric comes through Halle thriller|
|Australia v Bangladesh: Carey and co target dangerman Shakib|
|Euro U21s Review: Fornals stunner gets Spain off the mark, Poland shock Italy|
|Argentina make Women´s World Cup history with stunning Scotland comeback|
|Sevastova cruises past Tomljanovic at Mallorca Open|
|Celtic could face Nomme Kalju or Shkendija in Champions League qualifying|
|New Zealand skipper Williamson hails De Grandhomme innings|
|Inter complete Politano deal|
|Coutinho unsure over Barcelona future|
|Luis Enrique grateful for privacy after leaving Spain role|
|Bayern looking forward to signing Sane, claims Lewandowski|
|Every win will be yours – Spain captain Ramos pays tribute to Luis Enrique|
|Masterful Williamson nudges South Africa closer to World Cup exit|
|Unfortunate Del Potro suffers another knee injury|
|F1 Raceweek: Vettel under pressure - French GP in numbers|
|Police arrest man on suspicion of manslaughter over Sala death|
|Baines signs Everton extension|
|AC Milan appoint Giampaolo as head coach|
|Is Mats Hummels still an elite defender?|
|Barcelona to face Napoli in first LaLiga Serie A Cup|
|Pant cleared to join India squad at World Cup after Dhawan blow|
|Ancelotti wants James Rodriguez, confirms Napoli chief De Laurentiis|
|Uruguay v Japan: Laxalt expects tough clash in Porto Alegre|
|Hummels set to join Gotze in returning to Dortmund|
|Who is new Spain coach Robert Moreno?|
|Bamba out with ankle injury after Choudhury challenge|
|Juan Mata agrees two-year extension at Manchester United|
|Assistant coach Terry extends Aston Villa contract|
|Nowell expected to be fit for World Cup following ankle surgery|
|Walker joins Silva, Sterling, Ederson and more in committing to City|
|AFC Champions League Review: Hwang strike gives Ulsan advantage|
|Saracens to face Munster, Racing and Ospreys in tough Champions Cup pool|
|Super League clubs alarmed by England and Great Britain coach Bennett´s NRL claim|
|Mendy opens up on ´incredible´ journey from career-ending operation to Real Madrid|
|Moreno replaces Luis Enrique as Spain coach|
|Walker pens two-year Manchester City extension to 2024|
|Dortmund agree deal for Hummels return|
|Amla reaches ODI landmark at World Cup|
|Neymar Champions League ban appeal rejected|