CVE-2026-65822 json
ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter
published 2026-08-17 2 mo ago modified 2026-10-23 16 d ago also EUVD-2026-60453
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected products
- frappe erpnext
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
- github.com /frappe/erpnext/pull/55721
- github.com /frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9e
- github.com /frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271a
- github.com /frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959
- github.com /frappe/erpnext/releases/tag/v15.116.0
- github.com /frappe/erpnext/releases/tag/v16.23.0
Sources
- CVE List CVE-2026-65822
- NVD CVE-2026-65822
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.