CVE-2025-3466: Unsanitized Input in langgenius/dify

Published Jul 7, 2025
·
Updated

langgenius/dify versions 1.1.0 to 1.1.2 are vulnerable to unsanitized input in the code node, allowing execution of arbitrary code with full root permissions. The vulnerability arises from the ability to override global functions in JavaScript, such as parseInt, before sandbox security restrictions are imposed. This can lead to unauthorized access to secret keys, internal network servers, and lateral movement within dify.ai. The issue is resolved in version 1.1.3.

Affected Software

2 affected components
LangGenius Dify>=1.1.0<=1.1.2
LangGenius Dify Node.js>=1.1.0<1.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade langgenius/dify to a version that resolves this vulnerability.

    Fixed in 1.1.3

Event History

Jul 7, 2025
CVE Published
via MITRE·09:55 AM
Data Sourced
via MITRE·09:55 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
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 CVE-2025-3466?

CVE-2025-3466 is considered a critical vulnerability due to the potential for arbitrary code execution with full root permissions.

2

How do I fix CVE-2025-3466?

To mitigate CVE-2025-3466, upgrade to version 1.1.3 or later of langgenius/dify, which addresses the unsanitized input issue.

3

What versions of langgenius/dify are affected by CVE-2025-3466?

CVE-2025-3466 affects langgenius/dify versions 1.1.0 to 1.1.2.

4

What kind of attack can CVE-2025-3466 enable?

CVE-2025-3466 can enable attackers to execute arbitrary JavaScript code, potentially compromising the entire system.

5

Is CVE-2025-3466 related to JavaScript security?

Yes, CVE-2025-3466 involves vulnerabilities in JavaScript that allow overriding of global functions, compromising the sandbox environment.

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