Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege ERPNext account
-
DeliverySend crafted request to vulnerable endpoint
-
ExploitInject SQL via unvalidated input
-
ExecutionManipulate backend database 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 | Exploitation requires a valid authenticated ERPNext session (CVSS PR:L), meaning the attacker must possess or obtain at least a low-privilege application account before reaching the affected endpoints - this is the primary limiting factor. Beyond authentication, no special non-default configuration is indicated; the flaw stems from missing input validation on 'some endpoints' in ERPNext versions before 15.98.0 and 16.x before 16.6.0, so default deployments on those versions are affected once the attacker is logged in. Exposure is highest on internet-facing ERPNext instances with self-service or weakly provisioned accounts; instances restricted to trusted internal users and network segmentation reduce realistic risk. No end-user interaction is required (UI:N). |
| Impact | This is a credible but moderate-priority issue rather than an emergency. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) describes a network-reachable, low-complexity SQL injection that requires low-level authentication (PR:L) and yields high confidentiality impact with no integrity or availability impact - consistent with the description's framing of data extraction by 'remote authenticated attackers,' so the signals agree internally. No CISA KEV listing and no public exploit were provided, and no EPSS score was supplied, so there is no evidence of active or at-scale exploitation at this time. The main risk drivers are the low privilege barrier (any authenticated ERPNext user may suffice) and the CWE-89 injection class, which is highly reliable to weaponize once endpoints are identified; however, the requirement for valid credentials and the confidentiality-only impact keep real-world urgency below that of an unauthenticated RCE. Missing data: EPSS probability and POC status are absent and should be monitored, as a published exploit would materially raise priority given how automatable SQLi typically is. |
| Exploit ScenarioDerived | An attacker who holds any valid low-privilege ERPNext account (or phishes/registers one on an exposed instance) sends specially crafted parameters to one of the vulnerable endpoints that lack input validation. The injected SQL manipulates the backend query to read data the user is not authorized to see, such as other tenants' records, credentials, or financial/HR data. No public proof-of-concept was identified at the time of analysis, but SQL injection with network reach and low privileges is straightforward to develop and automate. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
SQL injection in Frappe ERPNext releases before 15.98.0 and 16.x before 16.6.0 lets remote attackers who already hold a valid application session inject crafted input into a subset of endpoints and manipulate backend database queries, reading sensitive records the account would not otherwise be able to access. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) confirms the primary limiting factor is authentication: a low-privilege ERPNext account is required, but no user interaction and no non-default configuration are needed, so default deployments on the affected versions are exposed to any logged-in user. Impact is confined to confidentiality - no integrity or availability effect - which keeps this a credible but moderate-priority issue rather than an emergency; no public exploit code has been identified at time of analysis and the flaw is not confirmed actively exploited (no CISA KEV listing). Exposure is highest for internet-facing ERPNext instances that offer self-service registration or lightly provisioned accounts.
RemediationAI
Apply the vendor fix: upgrade to ERPNext 15.98.0 (15.x branch) or 16.6.0 (16.x branch) - vendor-released patches for both affected lines - and follow the GitHub advisory at https://github.com/frappe/erpnext/security/advisories/GHSA-wj7p-g62h-jh38 for any additional guidance or backports; the VulnCheck advisory at https://www.vulncheck.com/advisories/frappe-erpnext-before-16.6.0-sql-injection-via-missing-input-validation can be used for verification of affected versions. Where immediate upgrade is not possible, compensating controls should target the authentication prerequisite that makes this exploitable: audit and prune ERPNext accounts, disable self-service/public signup, enforce least-privilege roles and multi-factor authentication so an attacker cannot easily obtain the required valid session, and restrict the affected endpoints to trusted roles - accepting that this degrades usability for legitimate self-service workflows. Additionally, block or inspect requests to ERPNext endpoint paths with SQL metacharacters at the WAF or reverse proxy (accepting false positives on legitimate free-text fields), keep internet-facing ERPNext instances behind network segmentation or VPN where feasible (which reduces reachability but not risk to insiders), and enable database query logging to detect anomalous query patterns from low-privilege accounts. Because the weakness is read-oriented, consider tightening the database service account privileges used by ERPNext as a containment measure.
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 root cause is CWE-89, improper neutralization of special elements used in an SQL command: affected ERPNext endpoints build database queries without adequately validating or parameterizing user-supplied input, so attacker-controlled values reach the SQL layer and alter query semantics. ERPNext is a Python-based ERP built on the Frappe framework, which typically sits on MariaDB/MySQL; query construction paths that concatenate request parameters into SQL rather than using bound parameters or framework query builders are the class of code implicated here. The vendor CPE (cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*) does not pin a version, so version scoping must come from the advisory ranges - everything below 15.98.0 on the v15 line and 16.x below 16.6.0 on the v16 line. Because the injection is reachable over the network with only a low-privilege session and requires no special configuration, the practical attack surface is the query-building code on those endpoints plus whatever database privileges the application's own service account holds, which typically allows reading well beyond the authenticated user's intended record scope.
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 endpoint with low complexity but requires a low-privilege authenticated account (PR:L); impact is confidentiality-only data extraction, so I:N and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Frappe ERPNext before 15.98.0 and 16.x before 16.6.0 contains an SQL injection vulnerability in some endpoints caused by missing input validation. Remote authenticated attackers can send specially crafted requests to the affected endpoints to manipulate database queries and extract sensitive information from the database.
Technical POC Analysis
CWE-89 (SQL injection: 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
Frappe ERPNext versions before 15.98.0 and 16.x before 16.6.0 are affected by a SQL injection vulnerability that allows authenticated users to read sensitive database records beyond their permissions. This could lead to unauthorized disclosure of confidential business data, impacting organizations using ERPNext for critical operations. Leadership should care because any low-privilege account can exploit the flaw in default deployments, potentially exposing financial, customer, or operational data. No public exploit identified at time of analysis.
Restrict network access to ERPNext instances, enforce least privilege for authenticated users, enable detailed database query logging and monitor for anomalies, and deploy a web application firewall with virtual patching rules if available.
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-98065
GHSA-gqg9-2w62-58r8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB