Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege ERPNext account
-
ExploitSend request with SQL in sort parameter
-
ExecutionDatabase executes injected SQL in query
-
ImpactExtract 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c
SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa
Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A
An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev
Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie
SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL
In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re
EUVD-2026-132486
GHSA-grf2-2gc8-454h
NVD
CVE.org
EPSS
Exploit-DB