CVE-2026-137553 in Frappe
Summary
by MITRE • 11/26/2026
Frappe Framework before 15.120.0 and 16.x before 16.33.0 contains a blind SQL injection vulnerability in the handling of the X-Frappe-Request-Id HTTP header when monitoring is enabled. Remote unauthenticated attackers can send crafted header values to infer database contents through blind SQL injection techniques.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The Frappe Framework, a popular low-code platform used for building web applications and enterprise resource planning systems, contains a critical security flaw in versions prior to 15.120.0 and 16.x prior to 16.33.0. This vulnerability manifests as a blind SQL injection within the application's monitoring subsystem, specifically triggered by the processing of the X-Frappe-Request-Id HTTP header. The issue arises because the framework fails to properly sanitize or parameterize user-supplied input contained in this specific header before it is incorporated into database queries executed during diagnostic or logging operations. This lack of proper validation allows an attacker to inject malicious SQL code that alters the logic of the underlying query, enabling them to interact with the backend database without direct access to its output.
From a technical perspective, the vulnerability leverages blind injection techniques because the application does not return error messages or data directly in the HTTP response body based on the injected payload. Instead, attackers must rely on time-based or boolean-based inference methods to extract information. By manipulating the X-Frappe-Request-Id header with crafted payloads that trigger conditional delays or logical variations in database responses, a remote unauthenticated attacker can systematically deduce data stored within the application's database schema. This includes sensitive user credentials, personal identifiable information, and proprietary business logic configurations. The fact that no authentication is required to exploit this vector significantly lowers the barrier for entry, allowing any internet-facing instance of the vulnerable software to be compromised by automated scanning tools or opportunistic attackers.
The operational impact of this vulnerability is severe, as it effectively grants an attacker read-only access to the entire database backend associated with the Frappe application. Depending on the specific configuration and privileges granted to the database user account running the web service, there may also be potential for further exploitation leading to remote code execution or data modification, although the primary confirmed impact is unauthorized information disclosure. The exposure of sensitive data can lead to significant regulatory compliance violations under frameworks such as GDPR or HIPAA if personal health or financial data is involved. Furthermore, the compromise of authentication credentials stored in the database can facilitate lateral movement within an organization's network, escalating from a simple web application vulnerability to a broader infrastructure breach.
This flaw aligns with Common Weakness Enumeration identifier CWE-89, which covers Improper Neutralization of Special Elements used in an SQL Command, commonly known as SQL Injection. In terms of the MITRE ATT&CK framework, this vulnerability is categorized under T1190 Exploit Public-Facing Application and specifically supports data exfiltration techniques such as T1005 Data from Local System or T1048 Exfiltration Over Alternative Protocol if the attacker uses non-standard channels to transmit extracted data. The specific mechanism of using HTTP headers for injection also relates to CWE-20 Improper Input Validation, highlighting a failure in the application's input processing logic.
To mitigate this risk, organizations running Frappe Framework must immediately upgrade to version 15.120.0 or later, or version 16.33.0 and above for the 16.x branch. These releases include patches that properly sanitize inputs from the X-Frappe-Request-Id header before they are used in database operations. In environments where immediate patching is not feasible due to operational constraints, administrators should consider implementing a Web Application Firewall rule set designed to detect and block SQL injection patterns within HTTP headers. Additionally, restricting access to monitoring endpoints or disabling unnecessary diagnostic features can reduce the attack surface until the software update is applied. Regular security audits and static code analysis tools configured to detect unsanitized input usage in database queries are also recommended practices to prevent similar vulnerabilities in future development cycles.