Australia is considering granting a visa to Saudi teenager Rahaf al-Qunun after a United Nations agency found the 18-year-old detained at Bangkok airport is a genuine refugee.

Late on Wednesday the Department of Home Affairs confirmed the UN High Commissioner for Refugees had referred Ms al-Qunun for potential resettlement in Australia.

Rahaf Mohammed al-Qunun posted on social media from a hotel room at Bangkok airport. Credit:AP

"The Department of Home Affairs will consider this referral in the usual way, as it does with all UNHCR referrals," it said in a statement.

"The government will be making no further comment on this matter."