# CVE-2026-66001: Frappe: Improper Authorization in OAuth2 Consent Endpoint

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-08-20T18:27:32.056Z
- Modified: 2026-10-26T10:10:00.140Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- frappe frappe: < 15.114.0; >= 16.0.0-beta.1, < 16.26.0

## References

- <https://github.com/frappe/frappe/security/advisories/GHSA-2ph8-x773-8p2x>
- <https://github.com/frappe/frappe/pull/40073>
- <https://github.com/frappe/frappe/pull/40700>
- <https://github.com/frappe/frappe/pull/40701>
- <https://github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7>
- <https://github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d>
- <https://github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa>
- <https://github.com/frappe/frappe/releases/tag/v15.114.0>
- <https://github.com/frappe/frappe/releases/tag/v16.26.0>

## Sources

- CVE List: [CVE-2026-66001](https://www.cve.org/CVERecord?id=CVE-2026-66001), CVE Terms of Use, modified 2026-08-25
- NVD: [CVE-2026-66001](https://nvd.nist.gov/vuln/detail/CVE-2026-66001), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-66001 · Whole record: https://cve.day/CVE-2026-66001.json · Rebuilt by cve.day 2026-11-25T22:59:34.694Z
