RCE in Dify
CVE-2025-0185
A vulnerability in the Dify Tools' Vanna module of the langgenius/dify repository allows for a Pandas Query Injection in the latest version. The vulnerability occurs in the function `vn.get_training_plan_generic(df_information_schema)`, which does not properly sanitize user inputs before executing queries using the Pandas library. This can potentially lead to Remote Code Execution (RCE) if exploited.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.010 (59.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Dify
- Langgenius Langgenius/dify — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2025-0185?
- CVE-2025-0185 is a high-severity vulnerability in Dify, classified under Code Injection. CVSS score: 8.8/10. Published 2025-03-20.
- How severe is CVE-2025-0185?
- High severity. CVSS v3 base score is 8.8 out of 10.