Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9
- https://github.com/frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271
- https://github.com/frappe/erpnext/pull/55721
- https://github.com/frappe/erpnext/releases/tag/v15.116.0
- https://github.com/frappe/erpnext/releases/tag/v16.23.0
- https://github.com/frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959
FAQ
What is CVE-2026-65822?
CVE-2026-65822 is a vulnerability with a CVSS score of 7.6 (HIGH). 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 filte...
How severe is CVE-2026-65822?
CVE-2026-65822 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65822?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.