CVE-2026-65822 json
ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter
published 2mo ago modified 19d ago also EUVD-2026-60453 , GHSA-x35x-4mvx-h959
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository frappe/erpnext. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- 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
- frappe erpnext 15.116.0, 16.23.0
Is CVE-2026-65822 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-11).
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
advisory
- 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
- Maintainer advisory GHSA-x35x-4mvx-h959
Fencer Intel 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.
The maintainers of frappe/erpnext published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.