The stabbing occurred around Beit Awwa in the southern West Bank.
Clashes had also erupted earlier in the day in nearby Hebron as Israeli troops destroyed the home of a Palestinian jailed for a deadly knife attack last year.
Israel's military confirmed the stabbing "during a violent riot," while medics said the alleged attacker had died after being shot.