---
id: CVE-2026-134372
title: >-
  Frappe ERPNext 4.3.0 before 15.121.6 and 16.x before 16.37.0 contains an SQL
  injection vulnerability in an endpoint of the Selling and Buying modules,
  where a request value validated early can be overridden by caller-supplied
  data that r…
summary: >-
  Frappe ERPNext 4.3.0 before 15.121.6 and 16.x before 16.37.0 contains an SQL
  injection vulnerability in an endpoint of the Selling and Buying modules,
  where a request value validated early can be overridden by caller-supplied
  data that r…
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-89
vendor: frappe
product: erpnext
affected:
  - erpnext >= 4.3.0 < 15.121.6
  - erpnext >= 16.0.0 < 16.37.0
published: '2026-11-21'
updated: '2026-11-24'
sourceUpdated: '2026-11-24T01:17:25.953'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-134372'
references:
  - url: 'https://github.com/frappe/erpnext/security/advisories/GHSA-cc74-rc2g-p7hw'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/frappe-erpnext-4.3.0-before-15.121.6-sql-injection-in-selling-and-buying-modules
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.00394
epssPercentile: 0.34028
ingestedAt: '2026-11-23T23:39:56.398Z'
---

## Overview

Frappe ERPNext 4.3.0 before 15.121.6 and 16.x before 16.37.0 contains an SQL injection vulnerability in an endpoint of the Selling and Buying modules, where a request value validated early can be overridden by caller-supplied data that reaches a database query unvalidated. Any authenticated user, including a portal user with no roles, can send crafted requests to extract sensitive data, including active session data, and take over other accounts such as administrators.

## Remediation

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