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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-17 21:16
Updated : 2026-09-09 21:11
NVD link : CVE-2026-65822
Mitre link : CVE-2026-65822
CVE.ORG link : CVE-2026-65822
JSON object : View
Products Affected
No product.
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
