ERPNext: Possibility of SQL injection due to missing validation
Summary
| CVE | CVE-2026-72908 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-10 21:17:25 UTC |
| Updated | 2026-08-12 23:17:22 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.002870000 probability, percentile 0.210450000 (date 2026-08-12)
Problem Types: CWE-89 | CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/frappe/erpnext/security/advisories/GHSA-grhp-m55m-63f8 | [email protected] | github.com | |
| github.com/frappe/erpnext/releases/tag/v16.20.0 | [email protected] | github.com | |
| github.com/frappe/erpnext/commit/f98975f51a62d611f536368671c3dbaf81d61eb9 | [email protected] | github.com | |
| github.com/frappe/erpnext/commit/2a91c7229a47ac6a5bb2d8227290b03415bf8baf | [email protected] | github.com | |
| github.com/frappe/erpnext/pull/55127 | [email protected] | github.com | |
| github.com/frappe/erpnext/commit/c45d2a348777a9bdf697832b6ca129d2f0626fd2 | [email protected] | github.com | |
| github.com/frappe/erpnext/releases/tag/v15.109.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.