Israel fears that a jihadist offensive that has swept up swaths of Iraq may prompt concessions to arch-foe Iran from its longtime ally the United States.

“If Washington needs Tehran’s help to solve the Iraq crisis, the United States will need to be more flexible in negotiations on Iran’s nuclear program,” public radio cited Tourism Minister Uzi Landau as saying.

Landau warned: “We’re in a situation where, to confront the threat from the global jihad, we rely on Iran and its allies.”

The rise of the jihadist Islamic State in Iraq and the Levant (ISIL), which has seized Iraq’s second city Mosul and a swath of its north and center over the past 10 days, has prompted talk of possible cooperation between Washington and Tehran to help stop the insurgency.

Energy and Water Minister Uzi Landau, October, 2012. (photo credit: Yoav Ari Dudkevitch / FLASH90)

Uzi Landau (photo credit: Yoav Ari Dudkevitch/Flash90)

A top Iranian official said on Wednesday that Tehran could consider working with the United States over the crisis in Iraq if talks on its nuclear program are successful.

The Iranian official’s comments came after US Secretary of State John Kerry said Monday he would be open to cooperating with Iran on Iraq.

“I wouldn’t rule out anything that would be constructive,” Kerry told Yahoo News when asked if the United States would cooperate militarily with Iran, one of Iraqi Prime Minister Nuri al-Maliki’s key allies.

US Deputy Secretary of State William Burns held a brief meeting with Iranian officials in Vienna on Monday on the sidelines of talks between Tehran and the major powers over its controversial nuclear program.

Israel — said to have the Middle East’s sole nuclear arsenal — is deeply concerned that what it considers an unsatisfactory accord will emerge from the talks, which also involve its US ally and aim for a long-term deal to set out clear limits to Iran’s nuclear ambitions.

The US has said it aims to stop Iran attaining nuclear weapons; Israel wants a deal that denies Iran the capacity to attain nuclear weapons, which would involve the dismantling of what Prime Minister Benjamin Netanyahu calls Iran’s “military nuclear program” including all uranium enrichment capabilities.

Times of Israel staff contributed to this story.