CVE-2026-65822ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter
Updated under an hour ago ()
Does this affect you?
It affects frappe erpnext. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 7.6 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- Weakness (CWE)
- CWE-89
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Aug 18, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
frappe erpnext frappe:erpnext (from the name) | before 15.116.0; from 16.0.0, < 16.23.0 | CNA record |
References
- https://github.com/frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959x-refsource-confirm
- https://github.com/frappe/erpnext/pull/55721x-refsource-misc
- https://github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9ex-refsource-misc
- https://github.com/frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271ax-refsource-misc
- https://github.com/frappe/erpnext/releases/tag/v15.116.0x-refsource-misc
- https://github.com/frappe/erpnext/releases/tag/v16.23.0x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.