Kewell stunner keeps Galatasaray in Europe
Bordeaux had threatened to spoil coach Bulent Korkmaz's first game in charge of last season's Turkish champions by taking a first-minute lead, the opening goal of the tie after a goalless first leg in France.
Korkmaz, a former Turkish international and Gala captain who was appointed on Monday after Michael Skibbe was sacked, had barely taken his seat before David Bellion ran on to Diego Placente's long ball and fired home.
The hosts then took control with two quick goals just before halftime from Arda Turan and substitute Harry Kewell followed by another midway through the second half from midfielder Turan.
Bordeaux stormed back to level at 3-3 through Marouane Chamakh and Fernando Cavenaghi with 15 minutes remaining and were heading through on away goals until Sarioglu's winner.