CVE-2026-137550 in Frappe
Summary
by MITRE • 11/26/2026
Frappe Framework before 15.122.0 and 16.x before 16.50.0 contains a missing authorization vulnerability in Document.update() that fails to validate whether the caller is permitted to submit or modify the target document. Attackers can invoke document update operations to submit or alter documents they are not authorized to change.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The Frappe framework, widely utilized for building web applications and enterprise resource planning systems, contains a critical access control flaw in its core Document.update() method prior to versions 15.122.0 and 16.50.0. This vulnerability stems from an incomplete implementation of authorization checks within the document management layer. Specifically, when an application invokes the update operation on a document object, the framework fails to rigorously verify whether the current user session possesses the necessary permissions to modify or submit that specific record. This oversight allows any authenticated user with access to the relevant form interface to bypass intended security boundaries and alter data they should not be able to touch.
From a technical perspective, this is classified as an insecure direct object reference combined with broken access control mechanisms. The vulnerability aligns closely with CWE-269, which describes Improper Privilege Management, where software does not properly assign privileges or roles to actors. Furthermore, it maps directly to MITRE ATT&CK technique T1078, Valid Accounts, as the attacker leverages legitimate credentials but exploits a logic error in how those accounts are authorized for specific actions. The flaw is particularly dangerous because it operates at the framework level, meaning any application built on Frappe that relies on this default behavior without implementing additional custom validation layers will inherit this weakness automatically.
The operational impact of this vulnerability is severe, potentially leading to unauthorized data modification and integrity violations across affected systems. An attacker can exploit this flaw to change sensitive fields in financial records, alter user permissions, or submit workflow states for documents that require higher-level approval. In enterprise environments using Frappe for ERPNext or similar custom applications, this could result in significant business logic bypasses, allowing users to approve their own requests, modify inventory levels without authorization, or escalate privileges by altering role assignments stored within document fields. The lack of server-side validation means the integrity of the database is compromised directly through API calls that appear legitimate but violate policy constraints.
Mitigation strategies must focus on immediate version upgrades and defensive coding practices. Organizations running affected versions should upgrade to Frappe 15.122.0 or later, or 16.50.0 and above, where the authorization logic has been corrected to enforce strict permission checks before allowing updates. For applications that cannot be immediately upgraded, developers must implement explicit permission validation in custom doctypes by overriding the validate method to check user roles against required permissions manually. Additionally, implementing robust input validation on the client side is insufficient; server-side enforcement of access controls remains the only reliable defense against this type of logic flaw. Regular security audits focusing on role-based access control configurations are recommended to ensure no other endpoints suffer from similar oversights in permission handling.