Lori Cramer kicked the conversion of Ashley Masters' 74th-minute try as Australia rallied from 12-0 down at halftime to beat Scotland 14-12 at the Rugby World Cup.
Bienne Terita also scored a second-half try for Australia who posted their first win in Group A after a first-up loss to New Zealand.
For Scotland it was a second consecutive heart-breaking result after last weekend's 18-15 loss to Wales. Scotland had scored a late try which appeared to have secured a draw but Wales won the match with a penalty five minutes after the fulltime siren.
Again on Saturday, Scotland seemed to have done enough to secure a better result. They led early with a try to hooker Lana Skeldon from a lineout drive.
Scotland then went ahead 12-0 in the 27th minute with a penalty try after Australia collapsed a series of mauls near their goal line. Australia hooker Adiana Talakai was sin-binned for her role in the final offence.