Les Verts fell behind to Lorient in the Coupe de France quarter final when Maxime Barthelme struck.
Pierre Emerick Aubameyang levelled up for St Etienne but Jeremie Aliadiere won the game in the last minute to end the home side’s unbeaten record this year.