Skip to main content

Frappe ERPNext CVE-2026-134372

| EUVDEUVD-2026-132542 HIGH
SQL Injection (CWE-89)
2026-11-21 VulnCheck GHSA-jvg7-5h3q-2m9m
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege portal user
  2. Delivery
    Send crafted request to Selling/Buying endpoint
  3. Exploit
    Override early-validated value reaching SQL query
  4. Execution
    Extract active session data from database
  5. Impact
    Reuse 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% 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 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

ERPNext 16.0.0 <16.37.0
ERPNext 4.3.0 <15.121.6

Affected Packages

euvd erpnext fix: 15.121.6, 16.37.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 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

Vendor (VulnCheck) PRIMARY 8.3 HIGH
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
vuln.today AI 7.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/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
High
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:34 cve.org
HIGH 8.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular open-source ERP widely used by SMBs, 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.4%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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