{"id":"CVE-2026-65822","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-65822","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…","details":"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.","published":"2026-08-17T21:16:46.610","modified":"2026-08-17T21:16:46.610","cvss":{"score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9e","label":"frappe/erpnext@29dd6e6"},"references":[{"type":"WEB","url":"https://github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9e"},{"type":"WEB","url":"https://github.com/frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271a"},{"type":"WEB","url":"https://github.com/frappe/erpnext/pull/55721"},{"type":"WEB","url":"https://github.com/frappe/erpnext/releases/tag/v15.116.0"},{"type":"WEB","url":"https://github.com/frappe/erpnext/releases/tag/v16.23.0"},{"type":"WEB","url":"https://github.com/frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-08-17T21:16:46.610"}}