CVE-2026-66057

Frappe: Open Redirect via Unsanitized OAuth State Param.

Published Oct 13, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Frappe’s OAuth login flow improperly uses a client‑controlled state parameter without sanitization, permitting an attacker to craft a redirect URL that will be executed once authentication succeeds. This results in an open redirect, allowing malicious sites to be delivered to users after login and potentially facilitating phishing or click‑jacking attacks. The weakness is classified as CWE‑601.

Affected Systems

The vulnerability affects the Frappe web application framework. Versions prior to 15.116.0 and 16.29.0 are impacted; the flaw was addressed in those releases and newer versions.

Risk and Exploitability

The CVSS score is 5.1, indicating moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. An attacker can exploit the weakness by initiating an OAuth authentication request with a forged state value that points to an arbitrary URL; the victim’s browser will then redirect to the attacker‑controlled site after successful authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Frappe to version 15.116.0 or newer, or 16.29.0 or newer.
  • If an upgrade cannot be performed immediately, temporarily disable OAuth login or restrict the usage of the state parameter until a patch is applied.
  • Monitor authentication traffic for unexpected redirect patterns and block or flag any unusual state values during the OAuth flow.

Generated by OpenCVE AI on October 13, 2026 at 19:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Frappe
Frappe frappe
Vendors & Products Frappe
Frappe frappe
Type Values Removed Values Added
Description 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.
Title Frappe: Open Redirect via Unsanitized OAuth State Param.
Weaknesses CWE-601
References
Metrics cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 3:37 PM
Reserved
Jul 23, 2026, 11:25 PM
Status
Deferred
Published
Oct 13, 2026, 5:17 PM
Modified
Oct 14, 2026, 4:17 PM