The record belongs to the Chicago Cubs, who beat the Philadelphia Phillies 26-23 on 25 August 1922.
The most remarkable part is how Philadelphia got there. The Phillies scored 14 runs across the final two innings without hitting a single home run.