A vulnerability in langgenius/dify versions <=v0.9.1 allows for code injection via internal SSRF requests in the Dify sandbox service.
Date: 2025-03
Affected: langgenius/dify
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-10252
CWE: CWE-94
CVSS: 7.2 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)

A vulnerability in langgenius/dify versions <=v0.9.1 allows for code injection via internal SSRF requests in the Dify sandbox service. This vulnerability enables an attacker to execute arbitrary Python code with root privileges within the sandbox environment, potentially leading to the deletion of the entire sandbox service and causing irreversible damage.


Mitigations:

Architectural layers (MAESTRO):