---
id: CVE-2026-72908
title: ERPNext is a free and open source Enterprise Resource Planning tool
summary: >-
  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 pos…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
published: '2026-08-10'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:54:37.790'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72908'
references:
  - url: >-
      https://github.com/frappe/erpnext/commit/2a91c7229a47ac6a5bb2d8227290b03415bf8baf
    label: security-advisories@github.com
  - url: >-
      https://github.com/frappe/erpnext/commit/c45d2a348777a9bdf697832b6ca129d2f0626fd2
    label: security-advisories@github.com
  - url: >-
      https://github.com/frappe/erpnext/commit/f98975f51a62d611f536368671c3dbaf81d61eb9
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/erpnext/pull/55127'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/erpnext/releases/tag/v15.109.0'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/erpnext/releases/tag/v16.20.0'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/erpnext/security/advisories/GHSA-grhp-m55m-63f8'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00506
epssPercentile: 0.4058
ingestedAt: '2026-09-08T21:11:12.274Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
