Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-72908 EUVD-2026-55830

ERPNext: Possibility of SQL injection due to missing validation

Published Aug 10, 2026 · Updated Aug 12, 2026 · 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 products

VendorProductAffectedFixed
frappe erpnext < 15.109.0, >= 16.0.0, < 16.20.0 —

References