CVE-2026-65822

ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter

HIGH
7.6
CVSS Score
Published: August 17, 2026 at 08:45 PM UTC
Updated: October 23, 2026 at 04:10 PM UTC
1 product affected across 1 vendorERPNext

Using erpnext by frappe?

Get instant alerts when new vulnerabilities affect erpnext - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.6
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 15.116.0>= 16.0.0, < 16.23.0
Affected range stops below 15.116.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 16.23.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.6HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-89

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card