6.5medium
ERPNext: Possibility of SQL injection due to missing validation
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.109.0 and 16.20.0, the get_tax_template function in erpnext/accounts/doctype/tax_rule/tax_rule.py constructs an SQL WHERE clause from request-influenced posting_date and args values, allowing an authenticated low-privilege user to inject SQL and extract sensitive information. This issue is fixed in versions 15.109.0 and 16.20.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| frappe erpnext | < 15.109.0, >= 16.0.0, < 16.20.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.109.0 and 16.20.0, the get_tax_template function in erpnext/accounts/doctype/tax_rule/tax_rule.py constructs an SQL WHERE clause from request-influenced posting_date and args values, allowing an authenticated low-privilege user to inject SQL and extract sensitive information. This issue is fixed in versions 15.109.0 and 16.20.0.
NVD (es)
ERPNext es una herramienta de Planificación de Recursos Empresariales de código abierto y gratuita. Antes de las versiones 15.109.0 y 16.20.0, la función get_tax_template en erpnext/accounts/doctype/tax_rule/tax_rule.py construye una cláusula SQL WHERE a partir de los valores posting_date y args influenciados por la solicitud, permitiendo a un usuario autenticado con bajos privilegios inyectar SQL y extraer información sensible. Este problema está solucionado en las versiones 15.109.0 y 16.20.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72908 changed 2026-08-12 | CVE Terms of Use |
| NVD | CVE-2026-72908 changed 2026-10-24 | Public domain |