The incident took place in the village of Birtunia, east of Ramallah, where an elite IDF unit was searching for wanted Palestinians.
During the operation, the force entered the fourth floor of a building in order to observe the area, but Fatah members mistook them for Hamas gunmen and opened fire at them. The force fired back, killing the Palestinian security officer.
Following the incident, riots broke out outside the building. The force fired at one of the gunmen and killed him as well. There were no injuries among the soldiers in the incident.
During another operation of a different unit in Ramallah, Palestinians opened fire at the soldiers from a vehicle. An IDF soldier was lightly injured and was evacuated to the Hadassah Ein Kerem Hospital for medical treatment.
The force fired back at the vehicle, injuring two Palestinians who fled the area.
Also Thursday night, Palestinians opened fire at IDF soldiers in the Jenin refugee camp and in Nablus. There were no injuries in all incidents.
During the night, the forces arrested four wanted terror suspects across the West Bank.
On Wednesday night, two members of the al-Aqsa Brigades, Fatah's military wing, were killed in heavy exchanges of fire during an IDF operation in Nablus.
The two Palestinians, Omar Kalboni and Wael Awad, were wanted by security forces. According to military sources, Kalboni was a Fatah activist involved in manufacturing and planting explosive devices against IDF soldiers in the area.
Ali Waked contributed to the report