In a statement, the UN's special rapporteur on the independence of judges and lawyers, Leandro Despouy, said the execution reportedly took place in early May in front of a large crowd in Afghanistan's central Daikondi Province.
Despouy noted that a return to the practice of turning executions into public spectacles "harks back to the worst excesses of the old [Taliban] regime."
He said it is unacceptable for a nonstate entity, such as the Taliban, to exercise a state function by trying and punishing an alleged criminal.
Afghan officials have not reacted to the UN statement.
RFE/RL Afghanistan Report
SUBSCRIBE For regular news and analysis on Afghanistan by e-mail, subscribe to "RFE/RL Afghanistan Report."