UN warns of potential Middle East escalation