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.
References7
- github.com/frappe/erpnext/commit/2a91c7229a47ac6a5bb2d8227290b0…
- github.com/frappe/erpnext/commit/c45d2a348777a9bdf697832b6ca129…
- github.com/frappe/erpnext/commit/f98975f51a62d611f536368671c3db…
- github.com/frappe/erpnext/pull/55127
- github.com/frappe/erpnext/releases/tag/v15.109.0
- github.com/frappe/erpnext/releases/tag/v16.20.0
- github.com/frappe/erpnext/security/advisories/GHSA-grhp-m55m-63…
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 1% percentile: 44 · as of 12 November 2026
- CWE
- CWE-89
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.