Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
frappe erpnext
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Frappe ERPNext是印度Frappe公司开源的一款企业资源计划管理软件。 Frappe ERPNext 15.116.0之前版本和16.23.0之前版本存在SQL注入漏洞,该漏洞源于inactive_customers.py文件接受未经验证的doctype过滤器并将其插入get_sales_details和get_last_sales_amt的原始SQL查询中,可能导致经过身份验证的用户提取敏感信息并操纵数据库查询。

CVSS 7.6 · High EPSS 0.26% · P18

Affected Version Matrix 2

VendorProduct Version RangeStatus
frappe erpnext < 15.116.0 affected
>= 16.0.0, < 16.23.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65822

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Frappe ERPNext SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Frappe ERPNext是印度Frappe公司开源的一款企业资源计划管理软件。 Frappe ERPNext 15.116.0之前版本和16.23.0之前版本存在SQL注入漏洞,该漏洞源于inactive_customers.py文件接受未经验证的doctype过滤器并将其插入get_sales_details和get_last_sales_amt的原始SQL查询中,可能导致经过身份验证的用户提取敏感信息并操纵数据库查询。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
frappe erpnext < 15.116.0 -

II. Public POCs for CVE-2026-65822

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10804 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-65822

登录查看更多情报信息。

Patches & Fixes for CVE-2026-65822 (3)

Vendor Advisories for CVE-2026-65822 (1)

Vendor Pages for CVE-2026-65822 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-65822

No comments yet


Leave a comment