Kane Williamson and Ross Taylor laid another perfect batting platform for New Zealand at the Champions Trophy, but the déjà vu of a middle order struggle offered Bangladesh a chance of survival in Cardiff.
When Williamson was run out for 57 off 69 balls in a mix-up with Taylor at the end of the 30th over, the Black Caps had eased to 152 for three after opting to bat.
Rubel Hossain and the recalled Taskin Ahmed challenged the New Zealand captain at times, but he added to scores of 100 and 87 in the tournament.
Taylor eventually posted 63 off 82 on a green-tinged pitch before mistiming a flick to short fine leg off Taskin.
New Zealand were 201 for four in the 39th over.