Desperate ISIS fanatics are turning on their deserters by boiling the men alive in scalding oil.

The horrifying executions are unfolding in Mosul where the death cult is making its last stand and jihadists are less keen on martyrdom than they once thought.

Many of the jihadist leaders have made a run for it and sources say the city is in chaos.

Al Sumaria News is reporting that nine ISIS fighters trying to flee Mosul were recently captured by their commanders.

After being hogtied, the screaming men were thrown into the trenches containing burning oil, dying almost instantly.

The oil trenches circling the city are one of the terror group’s defensive tactics as they battle to stave off the inevitable. In addition, Mosul -- a city of 1.5 million -- and the area around it are heavily booby-trapped.

Meanwhile, as coalition troops and planes continue to obliterate ISIS, there are new fears terrorists may now be eyeing Pakistan as a place to regroup.

On Monday, a suicide attack at a Pakistani cadet training centre, left 60 dead with more than 100 wounded. Several groups have claimed responsibility -- including ISIS, who boasted the attack was carried out by “Soldiers of the Caliphate.”

ISIS does not normally take credit for massacres committed by others.