---
id: CVE-2026-134431
title: >-
  Frappe ERPNext 7.0.0 before 15.122.0 and 16.x before 16.50.0 contains an SQL
  injection vulnerability in endpoints that build part of a query from
  caller-supplied sort parameters without validation
summary: >-
  Frappe ERPNext 7.0.0 before 15.122.0 and 16.x before 16.50.0 contains an SQL
  injection vulnerability in endpoints that build part of a query from
  caller-supplied sort parameters without validation. Authenticated
  low-privilege users can s…
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
vendor: frappe
product: erpnext
affected:
  - erpnext >= 7.0.0 < 15.122.0
  - erpnext >= 16.0.0 < 16.50.0
published: '2026-11-21'
updated: '2026-11-25'
sourceUpdated: '2026-11-25T22:17:20.410'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-134431'
references:
  - url: 'https://github.com/frappe/erpnext/security/advisories/GHSA-2f98-mq8r-pvrh'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/frappe-erpnext-7.0.0-before-15.122.0-sql-injection-via-sort-parameters
    label: disclosure@vulncheck.com
  - url: 'https://github.com/frappe/erpnext/security/advisories/GHSA-2f98-mq8r-pvrh'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
epss: 0.00379
epssPercentile: 0.23804
ingestedAt: '2026-11-23T23:39:56.388Z'
---

## Overview

Frappe ERPNext 7.0.0 before 15.122.0 and 16.x before 16.50.0 contains an SQL injection vulnerability in endpoints that build part of a query from caller-supplied sort parameters without validation. Authenticated low-privilege users can send crafted requests whose sort parameter holds SQL that the database executes as part of the query, extracting sensitive information.

## Remediation

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