Missing Authorization in ERPNext - #VU163040
Published: November 9, 2026
Vulnerability details
The vulnerability allows an authenticated attacker to create unauthorized Serial No and Batch records in ERPNext, compromising inventory data integrity.
The vulnerability exists due to missing authorization checks in a Stock module endpoint that creates missing master records when checking whether an inventory number exists. An authenticated attacker can submit a crafted request containing a new inventory number to create the corresponding record despite lacking permission to create those master records.