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.
References
Link Resource
https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e Exploit Issue Tracking Third Party Advisory
https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:dify:dify:-:*:*:*:*:*:*:*

History

27 Mar 2025, 19:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
First Time Dify dify
Dify
CWE CWE-94
References () https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e - () https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e - Exploit, Issue Tracking, Third Party Advisory
CPE cpe:2.3:a:dify:dify:-:*:*:*:*:*:*:*

20 Mar 2025, 15:15

Type Values Removed Values Added
CWE CWE-94

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-03-27 19:18


NVD link : CVE-2025-0185

Mitre link : CVE-2025-0185


JSON object : View

Products Affected

dify

  • dify
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')