Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege portal user
-
DeliverySend crafted request to Selling/Buying endpoint
-
ExploitOverride early-validated value reaching SQL query
-
ExecutionExtract active session data from database
-
ImpactReuse stolen session to take over admin account
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 account on the target ERPNext instance, but this is a minimal barrier: the vendor confirms that any authenticated user - including a portal user with no assigned roles - can exploit it, so instances exposing self-service/portal registration are effectively open to low-effort attackers. The specific prerequisite is the ability to send a crafted request to the affected Selling/Buying module endpoint where an early-validated request value can be overridden by caller-supplied data that then reaches a database query. No victim/user interaction is required (UI:N). The only meaningful limiting factors are: (1) network reachability of the ERPNext web interface, and (2) possession of any valid account; there is no non-default configuration or special feature toggle required according to the advisory. |
| Impact | This is a genuine priority, not a high-CVSS-but-low-real-risk issue. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N) describes network-reachable, low-complexity exploitation requiring only minimal privileges (PR:L), and critically, the GHSA advisory confirms that 'any authenticated user, including a portal user with no assigned roles' qualifies - meaning the authentication barrier is near-trivial in any ERPNext instance that exposes self-service portal signup. The high subsequent-system confidentiality impact (SC:H) is well-justified: extracting active session data enables takeover of other accounts including administrators, which is a de facto privilege escalation even though the base integrity metrics are marked N. Signals are consistent rather than conflicting: the vuln.today decision label is 'this_week' (urgent but not act_now/emergency), it was reported by VulnCheck, and no CISA KEV listing or EPSS score is provided in the input. No confirmed active exploitation exists at time of analysis. The GHSA includes a PoC section describing the technique (overriding an early-validated value so caller-supplied data reaches the query), but no working exploit code is confirmed as published. Net: treat as a high-priority patch within the week - the combination of low privilege requirement, session/admin takeover, and SQL injection in a widely used ERP outweighs the absence of KEV/EPSS data. |
| Exploit ScenarioDerived | An attacker registers or uses a low-privilege portal account (no roles required) on an internet-facing ERPNext instance and sends a crafted request to the vulnerable Selling/Buying endpoint, overriding a value that was validated earlier so that attacker-controlled data reaches a database query unvalidated. They extract active session data from the database and reuse it to hijack higher-privileged sessions, including an administrator's, with no victim interaction. A PoC approach is described in the GHSA 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 the Selling and Buying modules of Frappe ERPNext lets any authenticated user, including a portal user with no assigned roles, craft a request that alters the database query the endpoint executes and read arbitrary data. The vendor confirms that the extractable data includes active session records, so a low-privileged account can be chained into takeover of other users, including administrators, with no victim interaction. An account is required, but the vendor treats that as a minimal barrier; the fix is a two-branch upgrade to 15.121.6 or 16.37.0, the vendor states no workaround exists, and a PoC description is published in the security advisory (it is not verified as working exploit code). No CISA KEV listing or EPSS score was supplied with this record; the vulnerability is prioritized as this_week.
RemediationAI
Vendor-released patch: upgrade to ERPNext 15.121.6 on the 15.x branch or 16.37.0 on the 16.x branch - the vendor states explicitly that no workaround is available and that upgrading is required, so backporting or configuration changes are not a substitute. Confirm the installed version against the advisory at https://github.com/frappe/erpnext/security/advisories/GHSA-cc74-rc2g-p7hw and note that both branches must be tracked separately, since a 15.x deployment will not pick up the 16.37.0 fix. Because exploitation needs only any valid account, reducing the number of accounts an outside party can obtain (for example pausing self-service or portal sign-up and pruning dormant portal users) narrows the attacker base while patching is in progress, but that only shrinks exposure and does not close the injection path. After upgrading, invalidate active sessions and rotate credentials for administrative and other high-value accounts, since the vulnerability exposes live session data and prior compromise may not be visible from the patch alone.
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 arising from a validation-ordering mistake rather than from a missing input filter as such: a request value is validated at one stage of processing, then later overridden by caller-supplied data, and that overridden value reaches a database query without being re-checked. The vendor's fix applies validation again after the override step, closing the window in which the second, unvalidated value is used. The affected code sits in the Selling and Buying module endpoints of ERPNext, the Frappe-framework-based ERP, and the affected CPE is frappe:erpnext across the 4.3.0-to-15.121.6 and 16.x-to-16.37.0 ranges. Because the injected value directly reshapes a query executed with the application's database privileges, the read impact extends to whatever the ERPNext database user can see, which in practice includes session tables holding live session identifiers - the pivot the advisory cites for account takeover. There is no authentication bypass: the attacker must already hold a valid ERPNext account, but no role assignment, administrative grant, or special feature toggle is required, and no victim interaction (UI:N) is involved.
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:H/SI:N/SA:N
PR:L because any authenticated user (even a role-less portal user) suffices; S:C and C:H because stolen session data enables takeover of other accounts including admin; I/A:N as the advisory describes data extraction only.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-89 (SQL injection).
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 contains a high-severity SQL injection vulnerability in the Selling and Buying modules that allows authenticated users, including low-privileged portal users with no assigned roles, to extract active session records and escalate to full account takeover, including administrators. This places sensitive business data and system administration at immediate risk, particularly as the vulnerability is prioritized for action this week. Leadership should mandate urgent patching and monitoring to prevent unauthorized access and potential data breaches.
No vendor-released patch identified at time of analysis; however, the vendor states no workaround exists. Interim mitigations include restricting access to the Selling and Buying modules to trusted users, enforcing strict least-privilege principles, and monitoring for suspicious database queries and session anomalies, but these are not substitutes for patching.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-132542
GHSA-jvg7-5h3q-2m9m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB