ERPNext: Possibility of SQL injection due to missing validation
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-72908
PublishedERPNext 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-72908 · CVE overview and exploitation status
cve-program · CVE-2026-72908
- https://github.com/frappe/erpnext/security/advisories/GHSA-grhp-m55m-63f8
- https://github.com/frappe/erpnext/pull/55127
- https://github.com/frappe/erpnext/commit/2a91c7229a47ac6a5bb2d8227290b03415bf8baf
- https://github.com/frappe/erpnext/commit/c45d2a348777a9bdf697832b6ca129d2f0626fd2
- https://github.com/frappe/erpnext/commit/f98975f51a62d611f536368671c3dbaf81d61eb9
- https://github.com/frappe/erpnext/releases/tag/v15.109.0
- https://github.com/frappe/erpnext/releases/tag/v16.20.0
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.