ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.27.0, certain endpoints in the Sales Person-wise Transaction Summary report fail to enforce proper authorization checks. When a role-limited authenticated user requests the affected financial report, the query can query financial transaction rows without applying the requesting user's document permission match conditions. This allows the user to read financial data beyond the user's permitted role. This issue is fixed in versions 15.118.0 and 16.27.0.
https://github.com/frappe/erpnext/security/advisories/GHSA-rgrq-243c-c4g6
https://github.com/frappe/erpnext/releases/tag/v16.27.0
https://github.com/frappe/erpnext/releases/tag/v15.118.0
https://github.com/frappe/erpnext/commit/24f0989ac1f6d3054643d6377e8c126ee8ca0cf7
https://github.com/frappe/erpnext/commit/202f52271ca2f689c2836fc27ca30c9cd507958e