When Germany invaded the Soviet Union in 1941, Oberländer became an advising officer of the Nachtigall Battalion (a Ukrainian battalion of Wehrmacht) which occupied Lvov in the Ukraine. The participation of the Battalion in The Lvov Civilian Massacre of 1941 has since been subject to controversy, and Oberländer himself was accused after the war of participating in the events.