Senegal upset Poland with a 2-1 Group H victory in Moscow that owed plenty to poor mistakes from the European nation.
Poland was widely expected to qualify for the knockout rounds but after suffering a seventh loss in its last nine World Cup matches, FIFA's eighth-ranked team is in danger of making an early exit.
Thiago Cionek's own goal, the defender deflecting in a shot from Idrissa Gueye, handed Senegal the lead in the 37th minute.
Senegal doubled its lead when M'Baye Niang took advantage of a mix-up between Grzegorz Krychowiak and Wojciech Szczesny to finish with ease.
Adam Nawalka's side set up an exciting finish when Krychowiak somewhat made amends for his error by heading home a Kamil Grosicki free-kick, but it could not find a late leveller.
Poland will need to make amends when it takes on Colombia - whicho surprisingly lost to Japan on Wednesday - while Senegal has qualification for the next phase in its sights.
A slow start at Spartak Stadium saw neither side gain control of the midfield until Senegal had the first clear chance in the 18th minute, Niang dragging a poor effort wide after a break.
The African side - which shocked France on its World Cup bow in 2002 - its only previous appearance - gradually started to dominate but the opening goal had a large slice of good fortune.
Patient passing produced an opportunity for Gueye, albeit his 20-yard strike took a huge deflection off Cionek to wrong-foot Poland goalkeeper Szczesny.
Nawalka sent on Southampton defender Jan Bednarek at half-time - Jakub Blaszczykowski making way on his 100th international appearance - as Cionek's own goal ensured Poland's 32-year wait for a clean sheet at the World Cup goes on.
Poland captain Robert Lewandowski was Europe's top scorer in qualifying with 16 goals but when he stepped up to float a 25-yard free-kick over the wall, Khadim N'Diaye acrobatically dived to turn the ball away.
A much-improved Poland continued to threaten and Lukasz Piszczek should have hit the target with a volley at the back post from a deep right-wing centre from Maciej Rybus.
But while the Senegal first was unlucky for Poland, it was the architect of its own downfall for the decisive second, handing Niang his first international goal on the hour mark.
Krychowiak needlessly hooked a high ball back towards his own goal from inside the Senegal half and with Szczesny attempting to intercept by coming out of his penalty area, Niang gleefully knocked the ball into an unguarded goal.
Kamil Glik, passed fit despite pre-match fitness doubts, should have got Poland back in the game but he slotted a perfect Piszczek cross wide at the near post.
Dawid Kownacki's headed attempt was easily saved late on by N'Diaye but the goalkeeper was beaten by Krychowiak's well-placed header with five minutes to go.
Yet Senegal held on to its advantage in a nervy finish, leaving the UEFA EURO 2016 quarter-finalist with plenty to do if it is to qualify from a suddenly wide-open group.