CVE-2026-137552: Frappe Framework before 16.35.0 2FA Bypass via OAuth2 Password Grant
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Frappe Framework versions before 15.121.1, and 16.x versions before 16.35.0, are affected. The issue is present at the OAuth2 token endpoint because it accepts the password grant.
What does an attacker need to exploit this?
An attacker needs valid credentials for a user account. No prior privileges or user interaction are required.
What can an attacker gain through this bypass?
The attacker can obtain a full-access OAuth token for the account whose credentials they possess. The password grant does not enforce two-factor authentication or forced password resets.
Are users protected by 2FA or a forced password reset still exposed?
Yes. On affected versions, the undocumented password grant can bypass both two-factor authentication and forced password-reset enforcement when valid user credentials are supplied.