A top UN official told senior North Korean figures there was an "urgent need" to keep channels open to avoid the risk of war, the organisation says.
The statement follows a visit to Pyongyang by Jeffrey Feltman, the highest-level trip by a UN official to the isolated nation in six years.
North Korea says it has agreed to regular communication with the UN.
Tensions over the North's weapons programme were raised further after a fresh ballistic missile test last week.
North Korea said it was its most advanced missile yet, capable of reaching the continental US.
The test was the latest in a series of nuclear and missile tests conducted in defiance of UN sanctions.
South Korea and the US have meanwhile been carrying out large-scale military drills in a show of force.
The UN continues to operate in North Korea, with programmes providing food, agricultural and health aid but the last visit by a senior official was back in 2011.
After the UN's Under-Secretary-General for Political Affairs Mr Feltman met senior North Koreans all agreed "the current situation was the most tense and dangerous peace and security issue in the world today", according to the statement.
"Noting the urgent need to prevent miscalculations and open channels to reduce the risks of conflict, Mr Feltman underlined that the international community, alarmed by escalating tensions, is committed to the achievement of a peaceful solution," it added, reports BBC.
North Korean state media earlier said current tensions were "entirely ascribable to the US hostile policy"..