CVE-2026-65822: high-severity vulnerability in frappe erpnext
ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.6epss 0.5%
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Affected products
frappe · erpnextRelated CVEs — frappe erpnext
In the same product, most dangerous first.
CVE-2026-65974CRITICALERPNext: Server-Side Template Injection leading to Remote Code ExecutionEPSS 1.0%CVE-2026-72911CRITICALERPNext: Possibility of server-side template injection due to missing validationEPSS 0.7%CVE-2026-72908MEDIUMERPNext: Possibility of SQL injection due to missing validationEPSS 0.5%CVE-2026-72910HIGHERPNext: Unauthorised modification of master data due to missing validationEPSS 0.5%CVE-2026-72909HIGHERPNext: Broken Access Control on certain endpointsEPSS 0.5%CVE-2026-72907MEDIUMERPNext: Broken Access Control on certain endpointEPSS 0.4%
References
https://github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9ehttps://github.com/frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271ahttps://github.com/frappe/erpnext/pull/55721https://github.com/frappe/erpnext/releases/tag/v15.116.0https://github.com/frappe/erpnext/releases/tag/v16.23.0https://github.com/frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959