CVE-2026-134372
Deferred Deferred - Pending Action

SQL Injection in Frappe ERPNext

Vulnerability report for CVE-2026-134372, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
frappe erpnext to 15.121.6 (exc)
frappe erpnext From 16.0 (inc) to 16.37.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-134372 is a high-severity SQL injection vulnerability in Frappe ERPNext versions 4.3.0 before 15.121.6 and 16.x before 16.37.0. It exists in the Selling and Buying modules where an endpoint fails to properly validate user input. Attackers can override early validation and inject malicious SQL queries to extract sensitive data or take over accounts.

Detection Guidance

To detect this SQL injection vulnerability, inspect network traffic for suspicious requests targeting the Selling and Buying modules in Frappe ERPNext. Look for unusual SQL query patterns or errors in application logs. Check for authenticated requests with malformed input parameters that may bypass validation.

Impact Analysis

Any authenticated user, including portal users with no roles, can exploit this to extract sensitive data like active session details and take over other accounts, including administrator privileges. The attack can be performed remotely without user interaction.

Compliance Impact

This SQL injection vulnerability could lead to unauthorized access to sensitive data, including active session details and administrator accounts. Such breaches may violate GDPR's data protection requirements and HIPAA's safeguards for protected health information, potentially resulting in non-compliance with these regulations.

Mitigation Strategies

Immediately upgrade Frappe ERPNext to version 15.121.6 or 16.37.0 or later to patch the vulnerability. Ensure no unauthenticated users have access to the Selling and Buying modules. Review and restrict portal user permissions to minimize attack surface.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134372. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...