Russian military-linked hackers used a critical flaw in Microsoft’s email software to target — and in some cases infiltrate — the networks of European military, energy and transportation organizations in an apparent spying campaign that went undetected for months as the war in Ukraine raged, Microsoft told its customers in a report obtained by CNN.