PT-2025-28153 · Langgenius · Dify
Published
2025-03-19
·
Updated
2025-08-01
·
CVE-2025-3466
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
langgenius/dify versions 1.1.0 through 1.1.2
Description:
The issue arises from unsanitized input in the code node, allowing execution of arbitrary code with full root permissions. This is due to 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.Recommendations:
For versions 1.1.0 through 1.1.2, update to version 1.1.3 to resolve the issue. As a temporary workaround, consider restricting access to the code node to minimize the risk of exploitation. Avoid using overridden global functions in JavaScript, such as
parseInt, until the issue is resolved.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dify