Cannes claimed their second Ligue 1 scalp in this season's Coupe de France by reaching the quarter-finals at Montpellier's expense.
Having beaten St Etienne on penalties in the last round, the fourth-tier side again went the distance against top-flight opposition.
This time spot-kicks were not required, as Belkacem Zobiri popped up with a minute of extra time remaining to secure a 1-0 win.
There was almost another upset, with Lille forced to come from 2-0 down to beat Caen on penalties.
Bengali-Fode Koita's double put the Ligue 2 side ahead but Ronny Rodelin pulled a goal back before half-time.
It remained 2-1 until the 77th minute, when Jonathan Delaplace equalised before substitute Nolan Roux put Lille 3-2 up with his first goal in nine appearances.
But Rodelin's late own goal took the game to extra time, and rival goalkeepers Thomas Bosmel and Steeve Elana both made good late saves to extend it further to penalties.
Both teams scored their regulation five spot-kicks and David Rozehnal netted Lille's sixth before Mathias Autret blazed a dreadful attempt high over the crossbar to end Caen's hopes.
The unfortunate Sunday Mba twice gave CA Bastia the lead but saw his side beaten 4-2 in extra time away to Angers.
Khaled Ayari cancelled out Mba's opener before the visitors had Mamadou Camara sent off.
Mba struck again late in the first half of extra time for the 10 men, but Charles Diers immediately responded and Mohamed Lamine Yattara and Jeremy Blayac finally settled the game in Angers' favour.