Description
Frappe is a full-stack web application framework. Prior to 15.114.0 and 16.26.0, the approve and authorize functions in frappe/integrations/oauth2.py allow the OAuth2 consent flow to proceed without restricting approve to POST, without a csrf_token in frappe/templates/includes/oauth_confirmation.html, and without scoping an active OAuth token check to the requesting client. An attacker can cause an authenticated user to approve an OAuth grant or reuse authorization state for the wrong client, exposing data and permitting actions within the granted scopes. This issue is fixed in versions 15.114.0 and 16.26.0.
Published: 2026-08-20
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Frappe is a full‑stack web application framework. The approve and authorize functions in the OAuth2 consent flow are vulnerable because they allow approval without restricting to POST, lack a CSRF token, and do not restrict token checks to the requesting client. This constitutes a Cross‑Site Request Forgery weakness (CWE-352) and results in an attacker being able to trick an authenticated user into approving an OAuth grant or reuse authorization state for a different client, exposing user data and permitting actions within the granted scopes.

Affected Systems

All installations of the Frappe framework running version 15.x prior to v15.114.0 and version 16.x prior to v16.26.0 are affected. Any instance using these releases must be addressed.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector is a web-based request to the OAuth2 consent endpoint from a malicious site or phishing page. The vulnerability has a CVSS score of 8.5, indicating high severity. Its exploitation requires a web-based attack that targets the OAuth2 consent endpoint and an authenticated user. Because the approve function is not limited to POST and lacks CSRF protection, an attacker can craft a request that a user unknowingly submits, causing the grant to be approved. The OAuth token is not scoped to the requesting client, so the attacker can also reuse the authorization state for a malicious client. No KEV listing and an unavailable EPSS score makes the likelihood of exploitation unclear, but the high CVSS suggests a significant risk if the flaw is discovered. Prompt remediation is recommended.

Generated by OpenCVE AI on August 21, 2026 at 02:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Frappe release on all affected instances (v15.114.0 or later, or v16.26.0 or later).
  • Review and enforce that the OAuth consent endpoint accepts only POST requests and that the CSRF token is validated; if custom templates are used, add a csrf_token to the consent form.
  • Enable logging of OAuth authorization approvals and review logs for any unexpected approvals; revoke any tokens that appear to have been granted incorrectly.

Generated by OpenCVE AI on August 21, 2026 at 02:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Frappe
Frappe frappe
Vendors & Products Frappe
Frappe frappe

Thu, 20 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Description Frappe is a full-stack web application framework. Prior to 15.114.0 and 16.26.0, the approve and authorize functions in frappe/integrations/oauth2.py allow the OAuth2 consent flow to proceed without restricting approve to POST, without a csrf_token in frappe/templates/includes/oauth_confirmation.html, and without scoping an active OAuth token check to the requesting client. An attacker can cause an authenticated user to approve an OAuth grant or reuse authorization state for the wrong client, exposing data and permitting actions within the granted scopes. This issue is fixed in versions 15.114.0 and 16.26.0.
Title Frappe: Improper Authorization in OAuth2 Consent Endpoint
Weaknesses CWE-352
References
Metrics cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T15:20:17.550Z

Reserved: 2026-07-23T18:54:15.833Z

Link: CVE-2026-66001

cve-icon Vulnrichment

Updated: 2026-08-25T15:20:13.203Z

cve-icon NVD

Status : Received

Published: 2026-08-20T19:16:58.020

Modified: 2026-08-25T16:17:06.277

Link: CVE-2026-66001

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T02:15:04Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)