CVE-2026-65822
ERPNext is a free and open source Enterprise Resource Planning …
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.116.0 and 16.23.0, erpnext/selling/report/inactive_customers/inactive_customers.py accepts an unvalidated doctype filter and interpolates it into raw SQL in get_sales_details and get_last_sales_amt, allowing an authenticated user to extract sensitive information and manipulate database queries. This issue is fixed in versions 15.116.0 and 16.23.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9e
- github.com/frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271a
- github.com/frappe/erpnext/pull/55721
- github.com/frappe/erpnext/releases/tag/v15.116.0
- github.com/frappe/erpnext/releases/tag/v16.23.0
- github.com/frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959
- nvd.nist.gov/vuln/detail/CVE-2026-65822
- cve.org/CVERecord?id=CVE-2026-65822
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.