Incorrect authorization in ERPNext - #VU163034
Published: November 9, 2026
Vulnerability details
The vulnerability allows an authenticated user with a Buying role and Purchase Order write access in ERPNext to close or reopen Purchase Orders outside their permitted companies or records.
The vulnerability exists due to the Buying module endpoint checking document-type permissions rather than individual Purchase Order permissions when processing status changes. An authenticated user can submit a crafted request naming another company's Purchase Order to change its status without victim interaction.