---
id: CVE-2026-66001
title: Frappe is a full-stack web application framework
summary: >-
  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…
severity: none
cwe:
  - CWE-352
published: '2026-08-20'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T13:42:44.967'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66001'
references:
  - url: >-
      https://github.com/frappe/frappe/commit/336c7d335db762b494acdfe43aea69d459fd51d7
    label: security-advisories@github.com
  - url: >-
      https://github.com/frappe/frappe/commit/d7460769f999c68d3121b680119f8724ddd3eb9d
    label: security-advisories@github.com
  - url: >-
      https://github.com/frappe/frappe/commit/eb9c1446cac13236c6d573b136786db2e46254fa
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/pull/40073'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/pull/40700'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/pull/40701'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/releases/tag/v15.114.0'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/releases/tag/v16.26.0'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/security/advisories/GHSA-2ph8-x773-8p2x'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.0034
epssPercentile: 0.24752
ingestedAt: '2026-09-16T13:56:12.594Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
