Vulnerability · Published Aug 20, 2026 · Assigned by GitHub_M
CVE-2026-66001Frappe: Improper Authorization in OAuth2 Consent Endpoint
High 8.5
In plain English
A high-severity cross-site request forgery in frappe from frappe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-352 · 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
References
- https://github.com/frappe/frappe/security/advisories/GHSA-2ph8-x773-8p2x x_refsource_CONFIRM
- https://github.com/frappe/frappe/pull/40073 x_refsource_MISC
- https://github.com/frappe/frappe/pull/40700 x_refsource_MISC
- https://github.com/frappe/frappe/pull/40701 x_refsource_MISC
- https://github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7 x_refsource_MISC
- https://github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d x_refsource_MISC
- https://github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa x_refsource_MISC
- https://github.com/frappe/frappe/releases/tag/v15.114.0 x_refsource_MISC
- https://github.com/frappe/frappe/releases/tag/v16.26.0 x_refsource_MISC