The Cardinals rallied to win 5-4 over the Pirates and moved into sole possession of first place in the NL Central with their third straight win.