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

No history.

Information

Published : 2025-03-20 10:15

Updated : 2025-03-27 19:18


NVD link : CVE-2025-0185

Mitre link : CVE-2025-0185

CVE.ORG link : CVE-2025-0185


JSON object : View

Products Affected

dify

  • dify
CWE
CWE-94

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