Dify AI Workflow oauth_redirect_url Open Redirect Vulnerability

July 23rd, 2026

Vulnerability Details

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.

Additional Details

The vendor has issued an update that appears to address this vulnerability
https://github.com/langgenius/dify/pull/38864


Disclosure Timeline

  • 2026-03-25 - Vulnerability reported to vendor
  • 2026-07-23 - Coordinated public release of advisory
  • 2026-07-23 - Advisory Updated

Credit

David Fiser & Alfredo Oliveira of TrendAI Research

Back to Advisories