Skip to main content

Frappe ERPNext CVE-2026-134431

| EUVDEUVD-2026-132486 HIGH
SQL Injection (CWE-89)
2026-11-21 VulnCheck GHSA-grf2-2gc8-454h
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege ERPNext account
  2. Exploit
    Send request with SQL in sort parameter
  3. Execution
    Database executes injected SQL in query
  4. Impact
    Extract sensitive data from database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated ERPNext user with a low-privilege role (per the advisory and PR:L) - not remote-unauthenticated. The attacker must reach an affected endpoint that builds part of its query from a caller-supplied sort parameter and supply SQL in that parameter; no special non-default configuration is called out in the sources. Affected versions are ERPNext 7.0.0 before 15.122.0 and 16.x before 16.50.0. The limiting factor is the authentication barrier: exploitation is gated on possessing valid credentials, so risk concentrates in deployments that are internet-exposed, allow self-registration, or grant accounts to many low-trust users. Impact is confined to reading data (VI:N/VA:N) - no modification or denial is indicated. No workaround is available; upgrading to 15.122.0 or 16.50.0 is required.

Impact

The signals are consistent and point to a real, near-term priority rather than a CVSS-inflated non-issue, though not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack requiring only low-privilege authentication (PR:L), with high confidentiality impact (VC:H) and no integrity or availability impact (VI:N/VA:N) - matching the description, which is strictly data extraction via SQL injection. The vuln.today decision label is 'this_week', aligning with a serious-but-authenticated flaw. No EPSS score and no CISA KEV listing are provided, so there is no evidence of active exploitation; absence of these is not itself a negative signal. A conceptual PoC is published in the GitHub Security Advisory (describing an authenticated user sending a sort parameter holding SQL), but it is not verified working exploit code. The main thing that keeps this below critical is the authentication requirement: an attacker must already hold a valid low-privilege ERPNext account. For internet-exposed, multi-tenant, or self-signup ERPNext deployments that barrier is low, which is why same-week remediation is warranted.

Exploit ScenarioDerived

An attacker holding a valid low-privilege ERPNext account sends a crafted request to an affected list/report endpoint, placing SQL into the sort parameter, which the database executes as part of the query to extract data the account should not see. Because the attack is network-based and low-complexity (AV:N/AC:L), it is easy to repeat and automate once access exists. A conceptual PoC exists in the GitHub advisory, but it is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

SQL injection in Frappe ERPNext endpoints that build part of a database query from caller-supplied sort parameters allows an authenticated low-privilege user to read sensitive data from the underlying database. ERPNext 7.0.0 through versions before 15.122.0, and 16.x before 16.50.0, are affected; the vendor advisory demonstrates the attack path as a crafted request whose sort parameter carries SQL that the database executes as part of the query. Exploitation is gated on holding valid credentials, and impact is read-only (no modification or denial indicated); no public exploit code is confirmed - the advisory's PoC section describes the request pattern rather than a verified working exploit - and no KEV listing is reported, so this is a near-term priority rather than an emergency, with risk concentrated in internet-exposed deployments that allow self-registration or hand accounts to many low-trust users.

RemediationAI

The vendor states there is no workaround and that upgrading is required: move to ERPNext 15.122.0 (for the 15.x branch) or 16.50.0 (for the 16.x branch), both of which restrict sort parameters to a fixed allowlist and thereby remove the injection point. Apply the update via the normal Frappe bench update workflow and verify the installed version after migrating sites. Until the upgrade can be completed, the only meaningful risk reduction follows from the assessed precondition - a valid low-privilege account - so interim measures are administrative rather than technical: disable or tightly control self-registration, avoid issuing low-privilege accounts to untrusted or broadly scoped user populations, and restrict network reachability of the ERPNext instance (including the affected endpoints) to trusted networks or VPN. Each of these trades convenience for exposure reduction and none of them repairs the injection, so the vendor's position that upgrading is the only complete fix stands. Advisory and fix details are at https://github.com/frappe/erpnext/security/advisories/GHSA-2f98-mq8r-pvrh and https://www.vulncheck.com/advisories/frappe-erpnext-7.0.0-before-15.122.0-sql-injection-via-sort-parameters.

Affected VersionsENISA

ERPNext 7.0.0 <15.122.0
ERPNext 16.0.0 <16.50.0

Affected Packages

euvd erpnext fix: 15.122.0, 16.50.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-89 (SQL injection) in ERPNext, the Frappe-framework-based ERP. Certain endpoints assemble a portion of their SQL query directly from a caller-supplied sort/ordering parameter without validating it against an allowed set, so an attacker-supplied value is interpreted by the database as query syntax rather than as a column name. The upstream GHSA (CWE-89, 'Possibility of SQL injection due to missing validation') states that the sort parameters are now restricted to a fixed list of values, which is the allowlist fix shipped in the patched releases. CPE data classifies the affected component as frappe:erpnext (wildcarded version ranges matching the two vulnerable release branches). Because the injection point is a sort/ordering clause, the natural exploitation primitive is read-oriented - union/boolean or subquery-based extraction of information from tables the application's database user can see - which matches the assessed CVSS:3.1 impact of C:H with I:N and A:N. The trigger mechanics beyond the sort-parameter injection point are not further described in the available sources. Prerequisite is a valid low-privilege account (PR:L in both the CNA's CVSS 4.0 vector and the independently assessed 3.1 vector); no non-default configuration is called out as required.

Know when Frappe gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable injection needing only a low-privilege account (PR:L, AV:N, AC:L); impact is data extraction, so C:H with I:N and A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:33 cve.org
HIGH 7.1

DescriptionCVE.org

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.

Technical POC Analysis

CWE-89 (Improper Neutralization of Special Elements used in an SQL Command).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity SQL injection vulnerability in Frappe ERPNext (CVSS 7.1) allows authenticated low-privilege users to read sensitive data from the underlying database, affecting versions 7.0.0 through 15.122.0 and 16.x before 16.50.0. This poses a significant risk to organizations with internet-exposed ERPNext instances that permit self-registration or grant accounts to many low-trust users, as it could lead to unauthorized access to business-critical data. Leadership should prioritize patching and access controls to mitigate potential data breaches.

Business Impact: High
Compensating Controls

Patch available per vendor advisory; interim mitigations include restricting network access to ERPNext instances, enforcing least privilege, monitoring for anomalous database queries, and disabling self-registration.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Medium
popular open-source ERP, common in SMBs but not ubiquitous infrastructure
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Frappe

View all
CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy