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

- Severity: High 8.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:41.847Z
- Modified: 2026-06-17T06:55:14.730Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- langgenius langgenius/dify: from unspecified before 0.2.10
- langgenius dify: up to 0.9.1

## Every score

- @huntr_ai: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/62c6c958-96cb-426c-aebc-c41f06b9d7b0> (exploit, third-party-advisory)
- <https://github.com/langgenius/dify/commit/4ac99ffe0e1c9f4d7c523908e91bbc7739e0a8d4> (patch)

## Sources

- CVE List: [CVE-2024-10252](https://www.cve.org/CVERecord?id=CVE-2024-10252), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-10252](https://nvd.nist.gov/vuln/detail/CVE-2024-10252), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10252 · Whole record: https://cve.day/CVE-2024-10252.json · Rebuilt by cve.day 2026-11-25T22:58:52.325Z
