Eighteen ISIS fanatics discovered karma is, indeed, a bitch.

Shocking video emerging from Libya shows the 18 men in orange jumpsuits having their brains blown out in summary executions.

The jihadists are shown kneeling as their executioners walk behind them before sending them to oblivion with assault rifle bullets to the head.

Libya is currently unleashing a violent crackdown on jihadis as tensions spiralled out of control between the government and ISIS.

According to the Daily Mail, Khalifa Haftar - a former Gaddafi soldier - now commander of the Libyan National Army is the architect of the bloodshed.

And the United Nations is demanding an investigation into the executions.

“We are deeply concerned that, after recent fighting in Benghazi, people taken prisoner by members of the Libyan National Army, which effectively controls eastern Libya, may be at imminent risk of torture and even summary execution,” spokesman Liz Thorsell said.

“Reports have suggested the involvement of Special Forces, a unit aligned with the LNA, in torturing detainees and summarily executing at least 10 captured men.”

But despite the UN’s fears for fanatics, Al Jazeera reports the Haftar is gaining support from Egypt and the UAE - and the West.

Benghazi was overrun by ISIS three years ago, which then unleashed an orgy of bloodlust on the civilian population.