{"id":"CVE-2026-72908","state":"PUBLISHED","title":"ERPNext: Possibility of SQL injection due to missing validation","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.","publishedAt":"2026-08-10T20:51:23.696Z","updatedAt":"2026-08-12T22:14:31.632Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["frappe erpnext"],"affected":[{"vendor":"frappe","product":"erpnext","versions":[{"version":"< 15.109.0","status":"affected"},{"version":">= 16.0.0, < 16.20.0","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72908.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72908","state":"PUBLISHED","datePublished":"2026-08-10T20:51:23.696Z","dateUpdated":"2026-08-12T22:14:31.632Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-10T17:57:26.143Z"},"containers":{"cna":{"title":"ERPNext: Possibility of SQL injection due to missing validation","descriptions":[{"lang":"en","value":"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":[{"vendor":"frappe","product":"erpnext","versions":[{"version":"< 15.109.0","status":"affected"},{"version":">= 16.0.0, < 16.20.0","status":"affected"}]}],"references":[{"url":"https://github.com/frappe/erpnext/security/advisories/GHSA-grhp-m55m-63f8","name":"https://github.com/frappe/erpnext/security/advisories/GHSA-grhp-m55m-63f8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/frappe/erpnext/pull/55127","name":"https://github.com/frappe/erpnext/pull/55127","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/commit/2a91c7229a47ac6a5bb2d8227290b03415bf8baf","name":"https://github.com/frappe/erpnext/commit/2a91c7229a47ac6a5bb2d8227290b03415bf8baf","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/commit/c45d2a348777a9bdf697832b6ca129d2f0626fd2","name":"https://github.com/frappe/erpnext/commit/c45d2a348777a9bdf697832b6ca129d2f0626fd2","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/commit/f98975f51a62d611f536368671c3dbaf81d61eb9","name":"https://github.com/frappe/erpnext/commit/f98975f51a62d611f536368671c3dbaf81d61eb9","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v15.109.0","name":"https://github.com/frappe/erpnext/releases/tag/v15.109.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v16.20.0","name":"https://github.com/frappe/erpnext/releases/tag/v16.20.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-10T20:51:23.696Z"},"source":{"advisory":"GHSA-grhp-m55m-63f8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-12T22:08:04.272198Z","id":"CVE-2026-72908","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-12T22:14:31.632Z"}}]}}}