CVE-2026-137552 in Frappeinfo

Summary

by MITRE • 11/26/2026

Frappe Framework before 15.121.1 and 16.x before 16.35.0 accepts an undocumented OAuth2 Resource Owner Password Credentials (password) grant at its token endpoint, which does not enforce two-factor authentication or forced password resets. An attacker with a user's valid credentials can use this grant to obtain a full-access OAuth token, bypassing 2FA.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 11/26/2026

The Frappe Framework, a popular low-code platform used for building web applications and ERP systems, contains a significant security flaw in its authentication mechanism prior to versions 15.121.1 and 16.35.0. The vulnerability stems from the implementation of an undocumented OAuth2 Resource Owner Password Credentials grant type at the token endpoint. While this grant type is part of the standard OAuth2 specification, it requires strict security controls when implemented in modern applications to prevent credential-based attacks. In these vulnerable versions, the framework accepts credentials directly via this endpoint without enforcing critical secondary authentication factors or mandatory password reset policies that are typically required for high-privilege access tokens.

This architectural oversight allows an attacker who has obtained a user's valid username and password through phishing, brute force, or data breaches to bypass two-factor authentication mechanisms entirely. By submitting the stolen credentials directly to the OAuth2 token endpoint using the Resource Owner Password Credentials flow, the attacker can obtain a full-access OAuth access token. This token grants the same level of authorization as if the user had logged in normally, but without triggering any additional security checks such as one-time codes from authenticator apps or SMS verification. The lack of enforcement for forced password resets further exacerbates the risk, allowing attackers to maintain persistent access even after credentials have been compromised and potentially changed by other means.

From a technical perspective, this vulnerability represents a failure in implementing secure authentication flows according to industry best practices. It aligns with CWE-287, which describes Improper Authentication, specifically where an attacker bypasses or manipulates the authentication mechanism. Furthermore, it relates to CWE-613, Insufficient Session Expiration, as the obtained tokens may remain valid for extended periods without re-authentication requirements. In terms of the MITRE ATT&CK framework, this behavior facilitates Credential Access techniques such as Valid Accounts and potentially aids in Initial Access if combined with other vectors like phishing or credential stuffing attacks. The use of an undocumented grant type also suggests a lack of rigorous code review regarding authentication pathways, leading to unintended attack surfaces being exposed.

The operational impact of this vulnerability is severe for organizations relying on Frappe Framework for sensitive business operations. Since the obtained OAuth token provides full access, attackers can potentially exfiltrate confidential data, modify critical records, or escalate privileges within the application environment. This undermines the integrity and confidentiality guarantees provided by multi-factor authentication systems that administrators may believe are fully active. The fact that this grant type is undocumented means it was likely not intended for public use in production environments, yet its presence creates a backdoor-like effect where standard security controls are circumvented simply by using an alternative API endpoint designed for machine-to-machine or legacy client interactions rather than interactive user logins with enhanced security requirements.

To mitigate this risk, organizations must upgrade to Frappe Framework version 15.121.1 or later, and specifically version 16.35.0 or higher for the 16.x branch. These updates address the improper handling of the Resource Owner Password Credentials grant by either removing support for it in public-facing endpoints or enforcing strict security policies such as mandatory two-factor authentication checks before issuing tokens via this flow. Additionally, administrators should audit their OAuth2 configurations to ensure that only necessary and well-documented grant types are enabled. Implementing rate limiting on token endpoints can also help mitigate brute force attempts aimed at exploiting this pathway. Regular security assessments and penetration testing focused on authentication flows are recommended to identify any similar misconfigurations in custom implementations or third-party integrations using the Frappe platform.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00547

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!