Substitute Riley McGree inspired the fightback as Middlesbrough came from behind against Bolton Wanderers to book their place in the Carabao Cup third round.
Michael Carrick's team have had a poor start to the Championship season with just one point from the opening four games.
That misery seemed to be continuing as Dion Charles put the League One side Bolton in front.
Matt Crooks, however, levelled before limping off with an injury, and McGree fired in the second in stoppage time before teeing up fellow sub Morgan Rogers for the third.
Boro were the form team in the second half of last season, moving from the relegation zone to the play-offs, but they are yet to register a league win this season.