---
id: CVE-2026-66057
title: Frappe is a full-stack web application framework
summary: >-
  Frappe is a full-stack web application framework. Prior to 15.116.0 and
  16.29.0, the OAuth login flow uses an unsanitized client-controlled state
  parameter to select post-authentication navigation, allowing a crafted state
  value to redir…
severity: medium
cwe:
  - CWE-601
published: '2026-10-13'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:17:49.840'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66057'
references:
  - url: >-
      https://github.com/frappe/frappe/commit/12568e2d54c4abba70bc0261387053fa28f90988
    label: security-advisories@github.com
  - url: >-
      https://github.com/frappe/frappe/commit/1e0a3b941231d74a71ff1a43eee2e9f63c88712d
    label: security-advisories@github.com
  - url: >-
      https://github.com/frappe/frappe/commit/6ed8acd869199feb3a2598887d471448297edf07
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/pull/40962'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/releases/tag/v15.116.0'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/releases/tag/v16.29.0'
    label: security-advisories@github.com
  - url: 'https://github.com/frappe/frappe/security/advisories/GHSA-78c5-55xg-jm7m'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-13T17:38:53.197Z'
vendor: frappe
product: frappe
affected:
  - frappe < 15.116.0
  - 'frappe >= 16.0.0, < 16.29.0'
cvss: 5.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-14T15:37:05.549194Z'
cvssSource: cna
epss: 0.00417
epssPercentile: 0.35882
---

## Overview

Frappe is a full-stack web application framework. Prior to 15.116.0 and 16.29.0, the OAuth login flow uses an unsanitized client-controlled state parameter to select post-authentication navigation, allowing a crafted state value to redirect a user to an attacker-chosen location. This issue is fixed in versions 15.116.0 and 16.29.0.

## Remediation

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