CVE-2026-72908
JSON

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 packageVersionsReported by
frappe erpnext< 15.109.0, >= 16.0.0, < 16.20.0CVE List

Classification

CWE-89

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

SourceRecordLicence
CVE ListCVE-2026-72908 changed 2026-08-12CVE Terms of Use
NVDCVE-2026-72908 changed 2026-10-24Public domain