Description
Dify AI Workflow oauth_redirect_url Open Redirect Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Dify. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the OAuth flow handling in the AppInitializer component. An attacker can force a redirection to a site that serves malicious content. An attacker can leverage this vulnerability to disclose information in the context of the application. Was ZDI-CAN-29196.
Published: 2026-07-29
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dify AI Workflow contains an Open Redirect flaw in the OAuth flow handling of the AppInitializer component. Attackers can force a user to be redirected to a malicious site that may host phishing content or other deceptive material. The vulnerability is categorized as CWE-601 and requires user interaction – the target must first visit a crafted malicious page or open a malicious file to trigger the redirect. As a result, attackers can deliver content that may divulge application‑specific information or trick users into revealing credentials.

Affected Systems

The flaw affects installations of Dify AI, specifically the OAuth integration within the workflow engine. The product is sold by LangGenius under the Dify brand. No specific version range is supplied, so any deployment that includes the AppInitializer component and the oauth_redirect_url handler is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity, while an EPSS score of less than 1% suggests a low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. The attack requires that an attacker supplies a malicious page or file that a user must interact with, after which the application redirects to the attacker‑controlled URL. Once redirected, the attacker may harvest sensitive data available in the application context, though there is no direct remote code execution path.

Generated by OpenCVE AI on August 3, 2026 at 12:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Dify release that addresses the open redirect issue.
  • Configure the application to validate and restrict redirect URLs to known, whitelisted domains.
  • Disable or limit OAuth redirect URL functionality if it is not required for your deployment.

Generated by OpenCVE AI on August 3, 2026 at 12:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Langgenius
Langgenius dify
Vendors & Products Langgenius
Langgenius dify

Wed, 29 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 29 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Description Dify AI Workflow oauth_redirect_url Open Redirect Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Dify. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the OAuth flow handling in the AppInitializer component. An attacker can force a redirection to a site that serves malicious content. An attacker can leverage this vulnerability to disclose information in the context of the application. Was ZDI-CAN-29196.
Title Dify AI Workflow oauth_redirect_url Open Redirect Vulnerability
Weaknesses CWE-601
References
Metrics cvssV3_0

{'score': 5.4, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-07-29T19:36:20.352Z

Reserved: 2026-07-29T17:01:32.386Z

Link: CVE-2026-18266

cve-icon Vulnrichment

Updated: 2026-07-29T19:36:17.394Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-29T20:17:02.730

Modified: 2026-07-30T14:19:24.857

Link: CVE-2026-18266

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T13:00:07Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')