ZDI-CAN-29196: ZDI-26-452: Dify AI Workflow oauth_redirect_url Open Redirect Vulnerability

Published Jul 23, 2026
·
Updated

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.

Other sources

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 ZDI has assigned a CVSS rating of 5.4. The following CVEs are assigned: CVE-2026-18266.

ZDI

Affected Software

2 affected components
Dify
LangGenius Dify

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ZDI-26-452
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2026-18266
  3. Compensating control

    Use a compensating control to prevent open-redirect exploitation by ensuring OAuth redirect destinations are strictly validated/allow-listed in the Dify OAuth flow (specifically the oauth_redirect_url handling in the AppInitializer component), so that remote attackers cannot force redirection to attacker-controlled malicious sites.

Event History

Jul 23, 2026
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Advisory Published
via ZDI·05:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of ZDI-CAN-29196?

The severity of ZDI-CAN-29196 is rated as medium with a score of 5.4.

2

How can I fix ZDI-CAN-29196?

To fix ZDI-CAN-29196, apply the latest security updates and patches provided by Dify.

3

What type of data can be exposed due to ZDI-CAN-29196?

ZDI-CAN-29196 allows remote attackers to disclose sensitive information due to an open redirect vulnerability.

4

Is user interaction required to exploit ZDI-CAN-29196?

Yes, user interaction is required for the exploitation of ZDI-CAN-29196 as the target must visit a malicious page.

5

Which software is affected by ZDI-CAN-29196?

ZDI-CAN-29196 affects Dify and LangGenius Dify (LangGenius) installations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203