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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.34% (percentile 20, 2026-11-28)
- **CWE:** CWE-352
- **Published:** 2026-08-20T18:27:32.056Z
- **Modified:** 2026-10-26T10:10:00.140Z

## Who should check

- Anyone running frappe \< 15.114.0; \>= 16.0.0-beta.1, \< 16.26.0

## 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 and fixed versions

- frappe: \< 15.114.0; \>= 16.0.0-beta.1, \< 16.26.0 (cvelist)

## Mitigation

- Upgrade frappe to 16.26.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-66001. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-66001.md
Affected: frappe < 15.114.0; >= 16.0.0-beta.1, < 16.26.0
Fixed in: frappe 15.114.0, frappe 16.26.0

Steps:
1. Search this machine and project for frappe: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-66001 being exploited?

There is no confirmed exploitation: CVE-2026-66001 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-66001?

High: CVSS 8.5 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-66001?

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

### Is there a fix for CVE-2026-66001?

Yes. Fixed in frappe 15.114.0, frappe 16.26.0. Upgrade frappe to 16.26.0 or later.

### How do I check if I'm affected by CVE-2026-66001?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-66001>

HTML: <https://flawdb.com/CVE-2026-66001> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-66001>
