Manchester United passed up the opportunity to secure progression to the Champions League knockout phase, as Michael Lang's late winner clinched a 1-0 victory for Basel and put the Swiss side in the driving seat to finish second behind their visitors in Group A.
Jose Mourinho's side needed only a point to win the group and looked as though they would cruise to victory during a first half in which they controlled, but Basel rallied brilliantly after the break and stole a deserved winner right at the end.
United were absolutely dominant in the first half and created a host of fine opportunities.
But they were left frustrated, with Romelu Lukaku, Anthony Martial, Marouane Fellaini and Marcos Rojo all going close – the latter pair denied by the frame of the goal.
United's frustration in front of goal showed no sign of subsiding after the break, as they struggled to craft chances against a Basel side who made a marked improvement and even hit the crossbar through Lang.
The visitors appeared to have done enough to claim the point they needed to wrap up qualification, but Lang decisively struck in the 89th minute, moving them above CSKA Moscow due to a better head-to-head record, while United are left still needing a point against the Russian side to be absolutely sure of progression.
Basel's dynamic front trio kept United's defence – which included Rojo for the first time since April – busy during the early stages, but the visitors quickly got to grips and began to command proceedings.
Their first chance came in the 11th minute and it should have been the opening goal, as Lukaku was played through on goal by a fine Paul Pogba pass and saw his effort saved by Tomas Vaclik.
United went even closer a few moments later, with Manuel Akanji heading off the line after Fellaini had appeared to nod in from a corner.
Fellaini saw another header go close in the 16th minute, diverting Daley Blind's free-kick delivery agonisingly wide of the left-hand post.
United were kept at arm's length for the next 25 minutes, but then three chances came in quick succession.
The first fell to Fellaini, as the Belgian's header came back off the post, before Vaclik denied Anthony Martial after a brilliant run and then the crossbar kept Rojo's deflected 35-yard effort out.
Basel looked rather more purposeful at the start of the second period and Geoffrey Serey Die was not far off putting them ahead in the 51st minute, seeing a rasping effort fly just wide of Sergio Romero's left-hand post.
The lively Renato Steffen was causing Blind no end of problems and the winger almost scored a fine goal just after the hour mark, cutting in from the right and seeing a left-footed drive fly just past the far post.
Mourinho responded by introducing Marcus Rashford almost straight away, but his impact was minimal, with Basel remaining on top and hitting the bar through a Lang header 23 minutes from the end.
Zlatan Ibrahimovic's introduction from the bench did little to inspire a United improvement and they were made to pay for their awful second-half decline late on.
Raoul Petretta charged up the left flank and played a low ball across the face of goal for Lang to sweep home from close range, meaning United need to avoid defeat at home to CSKA in a match sandwiched between crucial Premier League clashes with Arsenal and Manchester City at the start of December.
Key Opta stats:
- Basel enjoyed only their second win in their last eight Champions League home games (D2 L4).
- No English side has ever managed to keep a clean sheet on the road against Basel in European competition (14 such fixtures).
- Manchester United have conceded in each of their last three games in all competitions, after keeping six clean sheets in the seven matches before that.
- The Red Devils have failed to score in two of their last three games in all competitions, drawing a blank as many times as in their previous 22.
- After mustering just one shot in the first half, Basel managed 12 after the break.
- Zlatan Ibrahimovic became the first player to play for seven different clubs in the Champions League (Ajax, Juventus, Internazionale, Barcelona, Milan, PSG, Manchester United).
|Hummels to miss Germany-Sweden, confirms Low|
|Murray accepts Eastbourne wildcard|
|St Petersburg madness lines up Neymar and Brazil with heroes of the past|
|Martinez happy to be ´boring Belgium´|
|Japan v Senegal: Squeaky clean Group H rivals eyeing huge step towards last 16|
|Argentina team the worst in history - Ardiles|
|Ravanelli upsets wife by taking Arsenal job...in Kiev|
|Federer moves a step closer to 10th title in Halle|
|Brazil 2 Costa Rica 0: Coutinho and Neymar score in stoppage time to snatch win|
|Andersson: Sweden embracing big occasion as bug sweeps through team|
|LeBron in ´good dialogue´ with Cavaliers|
|Ronaldo will always be the best, Fonte claims|
|Southgate criticises press for England team leak|
|O´Mahony: Series win in Australia would be up there with Grand Slam|
|Khedira thrilled with Can capture, staying with Juventus|
|Samuel open to Higuain-Icardi swap deal|
|It´s just a game - Milligan disappointed by Kruse criticism|
|From drug-testing lab to gastro pub: Sochi happy not to forget dark past|
|Ronaldo will do what is best for him, says Carvajal|
|Kohli: India will feel at home in England|
|Barca target Lenglet yet to decide future|
|Germany perform best under pressure, Klose claims|
|Juanfran signs one-year Atletico Madrid extension|
|Julian Nagelsmann: The remarkable rise of RB Leipzig|
|Sterling: my daughter is Liverpool through and through!|
|Van Bommel to take charge of PSV|
|Hansen urges France not to ´squeal´ over decisions|
|Intelligent Jones will turn England´s fortunes around - Moody|
|Nainggolan confirms imminent Inter transfer|
|U.S. Open missed cut may be blessing in disguise - McIlroy|
|Schmidt in no rush to decide on his future|
|Wallabies treating decider as grand final - Hooper|
|Salah won´t leave World Cup, Egypt FA boss claims|
|Chandimal, Hathurusinghe and Gurusinha admit ´serious´ conduct breach|
|Mikal Bridges´ 76ers dreams dashed in dramatic draft twist|
|They want to pull you down - Sterling hits out at tabloid press|
|Lazaridis wants West Ham to stick with Mexico star Hernandez|
|Get behind Sterling, urges Henderson|
|Sampaoli begs for Argentina´s forgiveness|
|The 2018 NBA Draft first round in full|
|Everything still to play for against ´very strong´ France, says Eriksen|
|Cubs bested by Harvey, Yankees sweep Mariners|
|Spurs GM: We´ll do what we can to keep Leonard|
|Lovren: This Croatia team are better than 1998 heroes|
|Internationals Musa, Okobo selected in NBA Draft|
|Modric is the world´s best number 10 – Arbeloa|
|Kurz stay crucial to Jakobsen´s Adelaide move|
|Nuggets end Porter´s slide at number 14|
|Argentina were crying like girls – Vrsaljko|
|Cavaliers select Sexton with number eight overall pick|
|Argentina must ´pray´ results go their way, says Mascherano|
|Grizzlies select Jackson with number four pick|
|Hawks select Doncic with third pick, trade him to Mavericks|
|Kings take Bagley with number two pick|
|Suns select Ayton number one overall in NBA Draft|
|Argentina concerns grow as Dalic vows to rest players against Iceland|
|Messi could retire after World Cup, says Zabaleta|
|Spieth, McIlroy off to hot starts at Travelers Championship|
|Let Sampaoli say what he wants - Aguero angry at Argentina loss|
|Perisic: Messi is the best, but Argentina do not play as a team|
|Dominant England are ´spoiled´ by options, says Morgan|
|Argentina squad ´clouds´ Messi´s brilliance, claims Sampaoli|
|Fagner to start for Brazil due to Danilo injury|
|Arzani lauds leader Jedinak and remains confident on last-16 chances|
|Croatia cut Messi off in Argentina thrashing - Modric|
|Pogba: Kante, Matuidi have 15 lungs|
|Julian Nagelsmann: the Bundesliga prodigy swapping Hoffenheim for RB Leipzig|
|England dominate in Durham to close in on series whitewash|
|´Fortunate´ Federer closes in on Halle title|
|Calamity Caballero and Sampaoli tinkerings leave Argentina a broken mess|