Description
ERPNext 9.0.0 through 16.50.0 contains a missing authorization vulnerability that allows authenticated users to view stock quantities via whitelisted batch methods. Attackers, including customer portal users, can call get_batch_qty, get_batches_by_oldest or get_pos_reserved_batch_qty to list every item batch with per-warehouse quantities.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Frappe | ERPNext | 9.0.0 – ≤ 16.50.0 | — |
References
- GitHub Pull Request #60147 issue-tracking patch
- Patch Commit patch
- Vulnerable code in batch.py technical-description
- https://github.com/frappe/erpnext product
- VulnCheck Advisory: ERPNext 9.0.0 through 16.50.0 Missing Authorization in Batch Lookup Methods third-party-advisory