7.6

CVE-2026-65822: ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter

Deferred
Published 17-08-2026Last modified 18-08-2026

Vulnerability summary

CVE-2026-65822 is a high (CVSS 7.6) vulnerability in frappe erpnext. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · -0.20 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 17-08-2026
    PublishedVulnerability first disclosed.
  2. 18-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Decrease -0.20 pp

From 0.46% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Frappe1 product
  • erpnext< 15.116.0 | ≥ 16.0.0, < 16.23.0

1 vendor · 1 product

References

6 links