It should have been 3-0 when Brandt just failed to connect with a Niklas Suele header as Germany looked like they would run away with it.
However, the South Americans had the best of the second-half, starting when Scaloni put Alario on for Dybala on 62 minutes.
Alario showed his strength in the air to head past Barcelona goalkeeper Marc-Andre ter Stegen four minutes later.
The visitors equalised when Alario set up Sevilla’s Lucas Ocampos, a second-half replacement for Correa, to blast past ter Stegen five minutes from time.
“That was 90 minutes split in two,” said Germany’s stand-in captain Joshua Kimmich.
“In the first half we stood up to them, in the second we were chasing the game and leaked the goals.
“That’s happened to us a few times now,” Kimmich admitted, knowing Germany must do better in Sunday’s Euro 2020 qualifier at minnows Estonia.
There was a minute’s silence before kick-off in memory of the two people shot dead in the east German city of Halle earlier Wednesday in an anti-Semitic attack.