Leonardo Bonucci and Edgar Alvarez gave the hosts a two-goal lead within the first seven minutes, but strikes from Edison Cavani and Javier Pastore either side of half-time brought Palermo level.

A red card to midfielder Fabio Liverani in the 56th minute tipped the scales back in Bari's favour before a penalty from Paulo Barreto and a fourth goal from Vladimir Koman earned them all three points.

In the day's other Serie A game, Napoli missed the chance to move up to second place as they were held to a goalless draw at the Stadio San Paolo by their bogey team Genoa.

Napoli have not beaten Genoa since both sides returned to the Italian top flight two and a half years ago, while their last home victory over the Ligurians dates back over a decade.