CVE-2026-65822
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.6
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-17 21:16:46.610000
Last modified
2026-10-23 16:10:00.313000
View original CVE JSON
{
"id": "CVE-2026-65822",
"sourceIdentifier": "[email protected]",
"published": "2026-08-17T21:16:46.610",
"lastModified": "2026-10-23T16:10:00.313",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "ERPNext es una herramienta de Planificación de Recursos Empresariales de código abierto y gratuita. Antes de las versiones 15.116.0 y 16.23.0, erpnext/selling/report/inactive_customers/inactive_customers.py acepta un filtro de tipo de documento (doctype) no validado y lo interpola en SQL sin procesar en get_sales_details y get_last_sales_amt, permitiendo a un usuario autenticado extraer información sensible y manipular consultas de la base de datos. Este problema está solucionado en las versiones 15.116.0 y 16.23.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "frappe",
"product": "erpnext",
"versions": [
{
"version": "< 15.116.0",
"status": "affected"
},
{
"version": ">= 16.0.0, < 16.23.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L",
"baseScore": 7.6,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "LOW"
},
"exploitabilityScore": 2.8,
"impactScore": 4.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-18T12:57:40.825451Z",
"id": "CVE-2026-65822",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-89"
}
]
}
],
"references": [
{
"url": "https://github.com/frappe/erpnext/commit/29dd6e6681d20bbacb69517d2d2c875aa929eb9e",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/commit/f43af6624610e874e61ad3faf8701e5e6be6271a",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/pull/55721",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/releases/tag/v15.116.0",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/releases/tag/v16.23.0",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/security/advisories/GHSA-x35x-4mvx-h959",
"source": "[email protected]"
}
]
}