Milan, who are coached by ex-Manchester United boss Ruben Amorim, climbed to fourth on 30 points from 13 matches on Monday, one ahead of Como. Lazio top the standings on 35 points, two ahead of AS Roma while Inter Milan are third on 32.
The decisive moment came in the eighth minute when Cagliari goalkeeper Elia Caprile, under no pressure, passed straight to Rabiot, who lifted the ball over him and into the net.
Cagliari pushed for an equaliser, but Milan came closest to scoring again when Diego Moreira's low shot struck the far post and bounced away shortly before the final whistle.
Earlier on Monday, Atalanta won 2-1 at Lecce to move to 10th on 18 points after all three goals came in the opening nine minutes.
Eljif Elmas scored in the fifth minute before Nikola Krstovic doubled the lead a minute later.
Medon Berisha quickly pulled one back for Lecce, who are 15th on 10 points, one above the relegation zone.
Atalanta missed a chance to restore their two-goal cushion when Franck Kessie fired a 78th-minute penalty over the bar.
In Spain, Espanyol (11th) and Getafe (17th) played to a goalless draw in La Liga.
In a lackluster contest in Barcelona, La Liga's lowest scoring side got a much needed point that Getafe goalkeeper David Soria said "has to be a turning point for us."
Only Malaga (five points), Elche (11) and Levante (12) - all of whom are in the drop zone - sit below Getafe.