CVE-2025-3466 PUBLISHED

Unsanitized Input in langgenius/dify

Assigner: @huntr_ai
Reserved: 09.04.2025 Published: 07.07.2025 Updated: 07.07.2025

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.

Metrics

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor langgenius
Product langgenius/dify
Versions
  • affected from unspecified to 1.1.3 (excl.)

References

Problem Types

  • CWE-1100 Insufficient Isolation of System-Dependent Functions CWE