An alleged associate of a high-ranking fugitive Coconut Cartel member has been attacked inside a Sydney jail.

The 29-year-old was stabbed inside the high security correctional complex on Tuesday.

It is understood he was stabbed twice with a shiv and remains in a stable condition.

“An inmate at the (correctional facility) was injured following an assault by two other inmates,” a Corrective Services NSW spokeswoman said.

“The 29-year-old inmate was transferred to hospital as a precaution.

“Corrective Services NSW and NSW Police are investigating the incident.”

Senior members of the Coconut Cartel are alleged to have been pulling the strings of the network from offshore.

The Coconut Cartel, a coalition of gangs, has been locked in a bloody feud with the Alameddine Crime Network despite many members of the rival groups once being allies.

Police have attributed several murders, including mistaken-identity killings, to the feud.

The jail stabbing came around the same time as an assassination attempt on Coconut Cartel figure Iziah Utai in Spain, as revealed by The Daily Telegraph.

Utai, 25, has been offshore since last year, bouncing between Europe and Southeast Asia.

The son of Bulldogs legend Matt Utai was staying at a luxury resort in the seaside city of Marbella when hitmen allegedly tried to break into the property, forcing him to flee, according to underworld sources.

Soon after the alleged attempt on his life, Utai surfaced online with a message for his would-be attackers.

“Better luck next time. O wait there won’t be (a next time.)”