CVE-2026-18266 Dify AI Workflow oauth_redirect_url Open Redirect Vulnerability
Attackers can redirect users to malicious sites via OAuth flow, potentially disclosing sensitive information in Dify AI Workflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-18266?
CVE-2026-18266 is a medium-severity vulnerability in LangGenius Dify, published on 29 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-601
Which versions are affected by CVE-2026-18266?
How do I fix CVE-2026-18266?
No fix has been published for CVE-2026-18266 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-18266 being exploited?
There is no known exploitation of CVE-2026-18266 in the wild and no public exploit code.
Sources
Also known as GHSA-hvq6-f5p6-23f6.