CVE-2026-72911
Full vulnerability record from the local CVENow database.
Description
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.29.0, the validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals including frappe.utils, allowing an authenticated user with a common operational role to inject template expressions, execute arbitrary server-side code, and read data across the application. This issue is fixed in versions 15.118.0 and 16.29.0.
Severity
CRITICAL
CVSS score
9.9
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-08-10 21:17:25.993000
Last modified
2026-10-24 15:10:00.190000
View original CVE JSON
{
"id": "CVE-2026-72911",
"sourceIdentifier": "[email protected]",
"published": "2026-08-10T21:17:25.993",
"lastModified": "2026-10-24T15:10:00.190",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.29.0, the validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals including frappe.utils, allowing an authenticated user with a common operational role to inject template expressions, execute arbitrary server-side code, and read data across the application. This issue is fixed in versions 15.118.0 and 16.29.0."
},
{
"lang": "es",
"value": "ERPNext es una herramienta de Planificación de Recursos Empresariales (ERP) gratuita y de código abierto. Antes de las versiones 15.118.0 y 16.29.0, las llamadas a validate_template y render_template en erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py renderizan los campos subject, body y pdf_name con globales sin restricciones, incluyendo frappe.utils, lo que permite a un usuario autenticado con un rol operativo común inyectar expresiones de plantilla, ejecutar código arbitrario del lado del servidor y leer datos en toda la aplicación. Este problema está solucionado en las versiones 15.118.0 y 16.29.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "frappe",
"product": "erpnext",
"versions": [
{
"version": "< 15.118.0",
"status": "affected"
},
{
"version": ">= 16.0.0, < 16.29.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:C/C:H/I:H/A:H",
"baseScore": 9.9,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.1,
"impactScore": 6.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-13T15:51:21.859979Z",
"id": "CVE-2026-72911",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-1336"
}
]
}
],
"references": [
{
"url": "https://github.com/frappe/erpnext/commit/5f6952b15c1f6ee893770d5bc618558a6ba41a28",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/commit/88443e4a97c6c0a40d85a9e6785577191296ee39",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/commit/ecb6d48ec025e0c94abac35b2e4f7607f4c86465",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/pull/56458",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/releases/tag/v15.118.0",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/releases/tag/v16.29.0",
"source": "[email protected]"
},
{
"url": "https://github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7",
"source": "[email protected]"
}
]
}