Bayern 2 - 1 Juventus
Deisler 32 (B), Demichelis 39 (B), Ibrahimovic 90 (J)
Allianz Arena, Munich
Juve's perfect record came to an abrupt end in Munich, as a Christian Abbiati howler helped Bayern to a 2-1 victory.
Something had to give in this match, as the joint Group A leaders aimed to protect their 100 per cent records in the competition so far. The Bianconeri were without the injured Patrick Vieira and Jonathan Zebina, but despite his fine form, Alessandro Del Piero was benched in favour of David Trezeguet and Zlatan Ibrahimovic.
Manuele Blasi took his new right-back role, while Giuliano Giannichedda stepped in for Vieira alongside Emerson. Bayern boss Felix Magath scored the goal for Hamburg in their shock 1-0 European Cup Final win over Juventus in 1983, but last season the Bianconeri emerged from Munich with a 1-0 victory thanks to Del Piero.
Bayern had the first opportunity in the third minute with a Santa Cruz header off target, then moments later Roy Makaay's half-volley across the face of goal was just wide of the top corner.
Christian Abbiati had his gloves stung by a fierce Michael Ballack free kick from the edge of the box and Sebastian Deisler was offside when he latched on to the loose ball.
After a very shaky initial 10 minutes, Juve slowly started to push forward and put together a fine team move. Trezeguet held up Mauro German Camoranesi's cross and Pavel Nedved blazed wide.
Lilian Thuram was booked for clattering into Santa Cruz as the ball was flicked over his head and the resulting free kick caused chaos in the Juve area. Abbiati got down to push Makaay's effort off the line, then managed to take it away from De Michelis and Zambrotta dived in to clear from Ze Roberto.
Bayern made a substitution after just 30 minutes, introducing young talent Bastian Schweinsteiger for Bixente Lizarazu.
The Germans finally broke through, but Abbiati was left red-faced by an appalling intervention. Deisler's cross-shot from the right-hand edge of the box went in off Abbiati's knee, as the goalkeeper completely misjudged the flight of the ball.
Juve fought back, but a timid Camoranesi header was comfortably held by Oliver Kahn in his first touch of the ball after 33 minutes. The Argentine-born midfielder caused more problems moments later when Martin Demichelis slid in for a crucial clearance as his cross almost reached Trezeguet in the centre.
However, the Bianconeri defence was at fault for Bayern's second as well, as they were static and allowed Demichelis a free header on a Deisler corner kick from six yards. Trezeguet and Camoranesi were supposed to be marking the midfielder, but lost their man.
Camoranesi was Juve's liveliest player and his snapshot skimmed the crossbar, but Bayern were deserving of their lead and Abbiati blocked an acrobatic Ballack effort. Trezeguet was halted for a debatable offside flag on the stroke of half-time.
Fabio Capello made two half-time changes, introducing Del Piero for Camoranesi on the right flank and Giorgio Chiellini for Blasi as full-back. It didn't make an immediate difference, as Makaay found a way past Fabio Cannavaro's challenge to bring a tricky save out of Abbiati.
Ibrahimovic had his first real attempt on 52 minutes, but the shot was well over the bar. Del Piero earned a free kick on the edge of the area and his set-piece was punched away by Kahn on the line.
Makaay volleyed Deisler's cross just past the far post, although he was offside when the assist came in. Trezeguet hit the side-netting, but Bayern continued to have the best chances with a Santa Cruz header.
In fact, substitute Chiellini's wayward clearance almost resulted in an own goal and Abbiati had to backpass furiously to clear. Adrian Mutu was Capello's final gamble, relieving a quiet Trezeguet, but the Romanian played upfront and left Del Piero in his wide role.
Abbiati scrambled on to a Schweinsteiger angled drive that had been set up by a delicate Santa Cruz assist, as Bayern did not seem to be under pressure from the Bianconeri.
Schweinsteiger performed an important defensive intervention to stop Nedved's cross reaching Emerson at the back post. From the resulting corner, Cannavaro's header went towards Ibrahimovic, who didn't have time to turn around.
Makaay's strike from the edge of the box skimmed the crossbar after another fine team move, then Abbiati used his instincts to spread his body and block another Makaay attempt from close range.
Kahn was finally forced into a difficult save on 86 minutes, as he flew to palm Emerson's rising shot from a corner kick out of the top corner.
The Group stages could be decided on goal difference, which is why Ibrahimovic's last-gasp goal could be very important indeed. A Del Piero corner kick was swept home by the Swede at the far post.
Juventus nearly snatched a shock equaliser in stoppages, but Kahn managed to beat Nedved's free kick into an area without Bianconeri players.
Bayern Munich: Kahn; Sagnol, Lucio, Ismael, Lizarazu (Schweinsteiger 30); Deisler, Demichelis, Ballack; Ze Roberto; Makaay, Santa Cruz (Scholl 88)
Juventus: Abbiati; Blasi (Chiellini 46), Thuram, Cannavaro, Zambrotta; Camoranesi (Del Piero 46), Emerson, Giannichedda, Nedved; Ibrahimovic, Trezeguet (Mutu 66)
Ref: Vassaras (Gre)