Benoit Tremoulinas' last-minute penalty salvaged a point for Bordeaux as they came from behind to draw 2-2 against Nancy at the Stade Marcel Picot.
Yoan Gouffran put the Girondins in front in the 17th minute before Bakaye Traore levelled for Nancy just after the break.
Sebastien Puygrenier then gave the home side the lead as Nancy looked to have secured their fifth win in a row before Tremoulinas fired home from the spot to snatch a late point for his side.
Nancy are still not mathematically safe, but an impressive five wins and a draw in their last six games has massively improved their chances of avoiding relegation. Bordeaux lie three points ahead of them in eighth place, five points behind St Etienne.
Nancy had a couple of chances early on but it was Bordeaux who took the lead when Gouffran poked home from close range following Ludovic Obraniak's corner.
The home side almost levelled just before the break through Yohan Mollo's testing free-kick, but Bordeaux goalkeeper Cedric Carrasso made a magnificent save with his fingertips to deny the equaliser.
However, the home side did not have to wait long to draw level, as Traore headed home in the 47th minute from Lossemy Karaboue's cross.
Bordeaux then had a goal ruled out after Mickael Ciani was adjudged to have fouled Nancy defender Puygrenier in the build up.
Nancy took the lead after 72 minutes thanks to Puygrenier after Joel Sami put the ball into the area. Bordeaux went close to gaining a late equaliser when Henri Saivet's diving header went just wide, but moments later they were level from the penalty spot.
Nancy defender Andre Luiz handled the ball in the area, and Tremolinas made no mistake from the resulting spot-kick as he blasted the ball into the top right-hand corner to snatch a point.