As they attempted to question him, he lashed out with a knife, inflicting “light” injuries.
The attacker was shot dead as he continued to assault the men.
Meanwhile, another soldier was injured in a separate car ramming attack near Hebron overnight.
The army confirmed that a suspect accelerated their vehicle into an IDF unit stationed at the Yehuda Junction, resulting in one servicewoman being hospitalised.
The assailant was located in the early hours of Tuesday morning, but “tried to escape while endangering the fighters” as they attempted to make an arrest.
“The forces reacted with gunfire, and he was eliminated,” added a military spokesman.
It comes after an Israeli woman was killed an attack at the nearby Gush Etzion junction, the second in three months, on November 18.
The attack, which severely wounded three others, unfolded when two Palestinian men drove into pedestrians near the block of West Bank settlements.
One of the assailants then got out of the vehicle and began stabbing bystanders. Several explosive devices were also found in the car.
Both attackers, later identified by Palestinian officials as 18-year-olds Imran al-Atrash and Walid Sabarneh, were shot dead at the scene.
Palestinian media subsequently reported that the IDF made dozens of arrests in Beit Omar, the village where Sabarneh was from.
The father of one of the attackers also gave an interview to Palestinian TV, in which he allegedly said that “the thing I most looked forward to in my life was to become the father of a martyr”.
The man – whom the JC has not been able to identify – said: “Thank you Allah for everything. Oh Allah, help us in our calamity and grant us something better.”