CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-10252: Code Injection in langgenius/dify

8.8 CVSS

Description

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.

Classification

CVE ID: CVE-2024-10252

CVSS Base Severity: HIGH

CVSS Base Score: 8.8

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

Problem Types

CWE-94 Improper Control of Generation of Code

Affected Products

Vendor: langgenius

Product: langgenius/dify

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 14.84% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-10252
https://huntr.com/bounties/62c6c958-96cb-426c-aebc-c41f06b9d7b0
https://github.com/langgenius/dify/commit/4ac99ffe0e1c9f4d7c523908e91bbc7739e0a8d4

Timeline