DescriptionFrappe ERPNext 15.10.4 before 15.122.0 and 16.x before 16.50.0 contains a missing authorization vulnerability in a Stock module endpoint that checks whether an inventory number exists and creates missing Serial No and Batch master records without verifying create permission. Authenticated users can send a crafted request with a new number to create these records outside their role, affecting inventory data integrity.