PatchSiren cyber security CVE debrief
CVE-2026-66001 frappe CVE debrief
An OAuth2 vulnerability in Frappe allows an attacker to 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 arises from the approve and authorize functions in frappe/integrations/oauth2.py allowing 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. Defenders should assess exposure and verify configurations, particularly those using OAuth2 for authorization.
- Vendor
- frappe
- Product
- Unknown
- CVSS
- HIGH 8.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-20
- Original CVE updated
- 2026-09-16
- Advisory published
- 2026-08-20
- Advisory updated
- 2026-09-16
Who should care
Defenders responsible for Frappe deployments, particularly those using OAuth2 for authorization, should assess exposure and verify configurations. They must prioritize verifying OAuth2 client configurations, ensuring proper authorization state management, and monitoring for suspicious authorization requests.
Why it matters
The CVE-2026-66001 vulnerability in Frappe allows an attacker to manipulate OAuth2 authorization, exposing data and permitting actions within granted scopes. Defenders should prioritize verifying configurations, ensuring proper authorization state management, and monitoring for suspicious requests.
- 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.
- Defenders must verify OAuth2 client configurations to prevent unauthorized access.
- Proper authorization state management is crucial to prevent exploitation.
Technical summary
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. This issue is fixed in versions 15.114.0 and 16.26.0. 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.
Defensive priority
Defenders should prioritize verifying OAuth2 client configurations, ensuring proper authorization state management, and monitoring for suspicious authorization requests.
Recommended defensive actions
- Verify OAuth2 client configurations and authorization state management
- Monitor for suspicious authorization requests
- Ensure proper scoping of OAuth tokens
- Update to versions 15.114.0 or 16.26.0
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, but additional information on exploitation or affected versions is limited. 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. Defenders should verify OAuth2 client configurations to prevent unauthorized access and ensure proper
Sources and references
Verified primary and authoritative sources
-
CVE-2026-66001 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-66001
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-66001 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-66001
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/pull/40073
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/pull/40700
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/pull/40701
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/releases/tag/v15.114.0
-
Source reference
Unverified legacy reference
URL: https://github.com/frappe/frappe/releases/tag/v16.26.0
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.