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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.011 (64.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: +0.000
Affected products
- Dify
- Langgenius Langgenius/dify — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e (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.